зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1846945 - Export more table-related tests to WPT. r=emilio
* whitespace-trim-*: These tests are testing whitespace trimming in token elements but that's not described in MathML Core. Move them into internal WPT tests. * table-width-1,2,3,4: These tests verify that the intrinsic width is properly calculated so that MathML content don't overflow in tables. One of them is related to whitespace trimming, so extract it to internal WPT test. * test_bug330964.html: Convert this to a testharness test and move it into internal WPT test (this is testing mtable attributes that are not part of MathML Core). * semantics-4: Restore the original testcase and move it into internal WPT test with a failure annotation for now (as written it uses mtable@width attribute which is not part of MathML Core anyway). For details, see bug 1846930. * dir-6a: This was introduced in bug 330964 and involves table attributes that are not part of MathML Core. * css-spacing-1.html: This was introduced by bug 1187673 but is already covered by default-properties-on-the-math-root.html. * columnlines/rowlines: Tests for columnlines/rowlines attributes that are not part of the current version of MathML core. Move them to mozilla/tests/mathml/tables. Use Ahem for rowlines/columnlines-3* to make them more robust per bug 1309426. * mstyle-2: extract the case for mtable@align test to internal WPT mstyle-align.html since align is not part of MathML Core. Differential Revision: https://phabricator.services.mozilla.com/D185270
This commit is contained in:
Родитель
892475f3ba
Коммит
58b0d06c21
|
@ -3,7 +3,6 @@ support-files =
|
|||
file_disabled_iframe.html
|
||||
|
||||
[test_bug1845461.html]
|
||||
[test_bug330964.html]
|
||||
[test_bug553917.html]
|
||||
[test_bug827713-2.html]
|
||||
[test_disabled.html]
|
||||
|
|
|
@ -1,98 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=330964
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 706406</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=330964">Mozilla Bug 330964</a>
|
||||
<p id="display"></p>
|
||||
|
||||
<math>
|
||||
<mtable framespacing="7px 20px" frame="solid" rowspacing="11px 27px" columnspacing="5px 16px"
|
||||
style="border-width: 2px;" id="mtable0">
|
||||
<mtr>
|
||||
<mtd id="mtd0">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd1">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd2">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd id="mtd3">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd4">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd5">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd id="mtd6">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd7">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd8">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
|
||||
var epsilon = 2;
|
||||
function almostEqual(x, y) { return Math.abs(x - y) < epsilon; }
|
||||
|
||||
rectTable = $("mtable0").getBoundingClientRect();
|
||||
rect0 = $("mtd0").getBoundingClientRect();
|
||||
rect1 = $("mtd1").getBoundingClientRect();
|
||||
rect2 = $("mtd2").getBoundingClientRect();
|
||||
rect3 = $("mtd3").getBoundingClientRect();
|
||||
rect4 = $("mtd4").getBoundingClientRect();
|
||||
rect5 = $("mtd5").getBoundingClientRect();
|
||||
rect6 = $("mtd6").getBoundingClientRect();
|
||||
rect7 = $("mtd7").getBoundingClientRect();
|
||||
rect8 = $("mtd8").getBoundingClientRect();
|
||||
ok(almostEqual(rect1.left - rect0.right, 5), "columnspacing wonky");
|
||||
ok(almostEqual(rect2.left - rect1.right, 16), "columnspacing wonky");
|
||||
ok(almostEqual(rect4.left - rect3.right, 5), "columnspacing wonky");
|
||||
ok(almostEqual(rect5.left - rect4.right, 16), "columnspacing wonky");
|
||||
ok(almostEqual(rect7.left - rect6.right, 5), "columnspacing wonky");
|
||||
ok(almostEqual(rect8.left - rect7.right, 16), "columnspacing wonky");
|
||||
ok(almostEqual(rect3.top - rect0.bottom, 11), "rowspacing wonky");
|
||||
ok(almostEqual(rect4.top - rect1.bottom, 11), "rowspacing wonky");
|
||||
ok(almostEqual(rect5.top - rect2.bottom, 11), "rowspacing wonky");
|
||||
ok(almostEqual(rect6.top - rect3.bottom, 27), "rowspacing wonky");
|
||||
ok(almostEqual(rect7.top - rect4.bottom, 27), "rowspacing wonky");
|
||||
ok(almostEqual(rect8.top - rect5.bottom, 27), "rowspacing wonky");
|
||||
// Remember to subtract border
|
||||
ok(almostEqual(rect0.left - rectTable.left - 2, 7), "framespacing left wonky");
|
||||
ok(almostEqual(rect3.left - rectTable.left - 2, 7), "framespacing left wonky");
|
||||
ok(almostEqual(rect6.left - rectTable.left - 2, 7), "framespacing left wonky");
|
||||
ok(almostEqual(rect0.top - rectTable.top - 2, 20), "framespacing top wonky");
|
||||
ok(almostEqual(rect1.top - rectTable.top - 2, 20), "framespacing top wonky");
|
||||
ok(almostEqual(rect2.top - rectTable.top - 2, 20), "framespacing top wonky");
|
||||
ok(almostEqual(rectTable.bottom - rect6.bottom - 2, 20), "framespacing bottom wonky");
|
||||
ok(almostEqual(rectTable.bottom - rect7.bottom - 2, 20), "framespacing bottom wonky");
|
||||
ok(almostEqual(rectTable.bottom - rect8.bottom - 2, 20), "framespacing bottom wonky");
|
||||
ok(almostEqual(rectTable.right - rect2.right - 2, 7), "framespacing right wonky");
|
||||
ok(almostEqual(rectTable.right - rect5.right - 2, 7), "framespacing right wonky");
|
||||
ok(almostEqual(rectTable.right - rect8.right - 2, 7), "framespacing right wonky");
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS spacing properties</title>
|
||||
<style type="text/css">
|
||||
math {
|
||||
line-height: normal;
|
||||
word-spacing: normal;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p style="line-height: 30pt;
|
||||
word-spacing: 2em;
|
||||
letter-spacing: 2em;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mtable rowspacing="0pt" columnspacing="0em">
|
||||
<mtr>
|
||||
<mtd><mtext>row 1 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 1 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd><mtext>row 2 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 2 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS spacing properties</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p style="line-height: 30pt;
|
||||
word-spacing: 2em;
|
||||
letter-spacing: 2em;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mtable rowspacing="0pt" columnspacing="0em">
|
||||
<mtr>
|
||||
<mtd><mtext>row 1 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 1 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd><mtext>row 2 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 2 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -104,29 +104,6 @@
|
|||
</mstyle>
|
||||
</math></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>mtable: align</td>
|
||||
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mstyle>
|
||||
<mrow>
|
||||
<mtext>_</mtext>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mtext>_</mtext>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</math></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
|
|
|
@ -107,29 +107,6 @@
|
|||
</mstyle>
|
||||
</math></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>mtable: align</td>
|
||||
<td><math xmlns="http://www.w3.org/1998/Math/MathML" align="baseline">
|
||||
<mstyle align="baseline">
|
||||
<mrow>
|
||||
<mtext>_</mtext>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mtext>_</mtext>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</math></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
random-if(gtkWidget) == dir-3.html dir-3-ref.html # bug 1309426
|
||||
== dir-5.html dir-5-ref.html
|
||||
fuzzy-if(cocoaWidget,0-135,0-56) == dir-6a.html dir-6a-ref.html
|
||||
== css-spacing-1.html css-spacing-1-ref.html
|
||||
random-if(smallScreen&&Android) fuzzy(0-255,0-200) fuzzy-if(geckoview,201-216,200-250) fuzzy-if(winWidget,114-255,245-361) fuzzy-if(OSX,79-153,240-250) == mirror-op-1.html mirror-op-1-ref.html
|
||||
!= mirror-op-2.html mirror-op-2-ref.html
|
||||
!= mirror-op-3.html mirror-op-3-ref.html
|
||||
|
@ -39,10 +37,6 @@ fails == stretchy-mover-2a.html stretchy-mover-2-ref.html
|
|||
== stretchy-largeop-1.html stretchy-largeop-1-ref.html
|
||||
== stretchy-largeop-2.html stretchy-largeop-2-ref.html
|
||||
== stretchy-largeop-3.html stretchy-largeop-3-ref.html
|
||||
== table-width-1.xhtml table-width-1-ref.xhtml
|
||||
== table-width-2.html table-width-2-ref.html
|
||||
== table-width-3.html table-width-3-ref.html
|
||||
== table-width-4.html table-width-4-ref.html
|
||||
== underbar-width-1.xhtml underbar-width-1-ref.xhtml
|
||||
== mathml-type-supported.xhtml mathml-type-supported-ref.xml
|
||||
!= embellished-op-1-2.html embellished-op-1-2-ref.html
|
||||
|
@ -65,9 +59,7 @@ fails == stretchy-mover-2a.html stretchy-mover-2-ref.html
|
|||
== semantics-1.xhtml semantics-1-ref.xhtml
|
||||
== semantics-2.html semantics-2-ref.html
|
||||
== semantics-3.html semantics-3-ref.html
|
||||
== semantics-4.html semantics-4-ref.html
|
||||
pref(mathml.stixgeneral_operator_stretching.disabled,false) == semantics-5.html semantics-5-ref.html # bug 1309429; bug 1648335
|
||||
== mstyle-2.xhtml mstyle-2-ref.xhtml
|
||||
fuzzy-if(OSX,0-16,0-8) == mstyle-3.xhtml mstyle-3-ref.xhtml
|
||||
fuzzy-if(OSX,0-1,0-4) == mstyle-4.xhtml mstyle-4-ref.xhtml
|
||||
== scale-stretchy-1.xhtml scale-stretchy-1-ref.xhtml
|
||||
|
@ -98,11 +90,6 @@ random-if(gtkWidget) == mpadded-9.html mpadded-9-ref.html # bug 1309430
|
|||
== mo-invisibleoperators.html mo-invisibleoperators-ref.html
|
||||
== mo-invisibleoperators-2.html mo-invisibleoperators-2-ref.html
|
||||
random-if(gtkWidget) == mo-glyph-size.html mo-glyph-size-ref.html # bug 1309426
|
||||
== whitespace-trim-1.html whitespace-trim-1-ref.html
|
||||
== whitespace-trim-2.html whitespace-trim-2-ref.html
|
||||
== whitespace-trim-3.html whitespace-trim-3-ref.html
|
||||
== whitespace-trim-4.html whitespace-trim-4-ref.html
|
||||
== whitespace-trim-5.html whitespace-trim-5-ref.html
|
||||
random-if(winWidget&&!d2d) == opentype-stretchy.html opentype-stretchy-ref.html
|
||||
== opentype-fraction-dynamic-linethickness.html opentype-fraction-dynamic-linethickness-ref.html
|
||||
== operator-1.xhtml operator-1-ref.xhtml
|
||||
|
@ -122,20 +109,6 @@ pref(mathml.legacy_mathvariant_attribute.disabled,false) == dtls-3.html dtls-3-r
|
|||
== mo-movablelimits-dynamic.html mo-movablelimits-dynamic-ref.html
|
||||
== munderover-accent-dynamic.html munderover-accent-dynamic-ref.html
|
||||
== munderover-accentunder-dynamic.html munderover-accentunder-dynamic-ref.html
|
||||
== columnlines-1a.html columnlines-1-ref.html
|
||||
!= columnlines-1b.html columnlines-1-ref.html
|
||||
!= columnlines-1c.html columnlines-1-ref.html
|
||||
== columnlines-2a.html columnlines-2-ref.html
|
||||
== columnlines-2b.html columnlines-2-ref.html
|
||||
!= columnlines-3-1.html columnlines-3-1-ref.html
|
||||
== columnlines-3-2.html columnlines-3-2-ref.html
|
||||
== rowlines-1a.html rowlines-1-ref.html
|
||||
!= rowlines-1b.html rowlines-1-ref.html
|
||||
!= rowlines-1c.html rowlines-1-ref.html
|
||||
== rowlines-2a.html rowlines-2-ref.html
|
||||
== rowlines-2b.html rowlines-2-ref.html
|
||||
!= rowlines-3-1.html rowlines-3-1-ref.html
|
||||
random-if(gtkWidget) == rowlines-3-2.html rowlines-3-2-ref.html # bug 1309426
|
||||
== op-dict-10.html op-dict-10-ref.html
|
||||
!= op-dict-11.html op-dict-11-ref.html
|
||||
== mfrac-A-4.html mfrac-A-4-ref.html
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
<!DOCTYPE HTML>
|
||||
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mtable width="100%" mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mtable mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mtable width="100%" mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</mrow>
|
||||
</math>
|
||||
|
||||
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mtable mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</mrow>
|
||||
</math>
|
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>table-width-2</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- See bug 459363 -->
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mrow style="width: 5em;"></mrow></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mrow style="width: 5em;"></mrow></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>table-width-2</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- See bug 459363 -->
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mspace width="5em"></mspace></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mpadded width="5em"></mpadded></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,2 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<math><mi> ( </mi></math>
|
|
@ -1,2 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<math><mi> ℎ </mi></math>
|
|
@ -1,2 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<math><ms> x </ms></math>
|
|
@ -0,0 +1,3 @@
|
|||
[dir-6a.html]
|
||||
fuzzy:
|
||||
if (os == "mac"): maxDifference=0-135;totalPixels=0-56
|
|
@ -0,0 +1,2 @@
|
|||
[semantics-4.html]
|
||||
expected: FAIL # Bug 1846930.
|
|
@ -29,3 +29,8 @@ any specification:
|
|||
[table features](https://www.w3.org/TR/MathML3/chapter3.html#presm.tabmat)
|
||||
that are in the initial version of MathML Core.
|
||||
See [issue 125](https://github.com/w3c/mathml-core/issues/125).
|
||||
|
||||
- `whitespace-trimming`: Tests for
|
||||
[whitespace trimming in token elements](https://www.w3.org/TR/MathML3/chapter2.html#fund.collapse)
|
||||
which is not described in the initial version of MathML Core.
|
||||
See [issue 149](https://github.com/w3c/mathml-core/issues/149).
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="columnlines-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="mismatch" href="columnlines-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="mismatch" href="columnlines-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="columnlines-2-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="columnlines-2-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="mismatch" href="columnlines-3-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="columnlines-3-2-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -1,6 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title>Test dir=rtl</title></head>
|
||||
<head>
|
||||
<title>Test dir=rtl</title>
|
||||
<link rel="match" href="dir-6a-ref.html"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>align attribute on mstyle/math</title>
|
||||
<link rel="match" href="mstyle-align-ref.html" />
|
||||
<meta name="assert" content="align attribute on mstyle/math does not apply to mtable descendants." />
|
||||
<body>
|
||||
<math align="baseline">
|
||||
<mstyle align="baseline">
|
||||
<mrow>
|
||||
<mtext>_</mtext>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mtext>_</mtext>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</math>
|
||||
</body>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>align attribute on mstyle/math</title>
|
||||
<link rel="match" href="mstyle-align-ref.html" />
|
||||
<meta name="assert" content="align attribute on mstyle/math does not apply to mtable descendants." />
|
||||
<body>
|
||||
<math align="baseline">
|
||||
<mstyle align="baseline">
|
||||
<mrow>
|
||||
<mtext>_</mtext>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd>
|
||||
<mtext>―</mtext>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mtext>_</mtext>
|
||||
</mrow>
|
||||
</mstyle>
|
||||
</math>
|
||||
</body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="rowlines-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="mismatch" href="rowlines-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="mismatch" href="rowlines-1-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="rowlines-2-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,7 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="rowlines-2-ref.html"/>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,12 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="stylesheet" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div, math {
|
||||
font: 25px/1 Ahem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,13 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="mismatch" href="rowlines-3-1-ref.html"/>
|
||||
<link rel="stylesheet" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div, math {
|
||||
font: 25px/1 Ahem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,12 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="stylesheet" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div, math {
|
||||
font: 25px/1 Ahem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -7,6 +7,13 @@
|
|||
<!-- Copyright (c) 2011 Design Science, Inc.
|
||||
License: Apache License 2.0 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="rowlines-3-2-ref.html"/>
|
||||
<link rel="stylesheet" href="/fonts/ahem.css" />
|
||||
<style>
|
||||
div, math {
|
||||
font: 25px/1 Ahem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE HTML>
|
||||
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mtable width="100%" mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
|
||||
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mtable mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
|
||||
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mtable width="100%" mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
|
||||
<math display="inline" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mtable mathbackground="red">
|
||||
<mtr> <mtd><mi>x</mi></mtd> </mtr>
|
||||
</mtable>
|
||||
</math>
|
|
@ -1,4 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1131000"/>
|
||||
<link rel="match" href="semantics-4-ref.html"/>
|
||||
</head>
|
||||
|
||||
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<semantics>
|
||||
<mtable width="100%" mathbackground="red">
|
|
@ -0,0 +1,103 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test framespacing/rowspacing/columnspacing attributes</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=330964"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<math>
|
||||
<mtable framespacing="7px 20px" frame="solid" rowspacing="11px 27px" columnspacing="5px 16px"
|
||||
style="border-width: 2px;" id="mtable0">
|
||||
<mtr>
|
||||
<mtd id="mtd0">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd1">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd2">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd id="mtd3">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd4">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd5">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd id="mtd6">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd7">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
<mtd id="mtd8">
|
||||
<mn>X</mn>
|
||||
</mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
|
||||
<script type="application/javascript">
|
||||
|
||||
var epsilon = 2;
|
||||
|
||||
rectTable = document.getElementById("mtable0").getBoundingClientRect();
|
||||
rect0 = document.getElementById("mtd0").getBoundingClientRect();
|
||||
rect1 = document.getElementById("mtd1").getBoundingClientRect();
|
||||
rect2 = document.getElementById("mtd2").getBoundingClientRect();
|
||||
rect3 = document.getElementById("mtd3").getBoundingClientRect();
|
||||
rect4 = document.getElementById("mtd4").getBoundingClientRect();
|
||||
rect5 = document.getElementById("mtd5").getBoundingClientRect();
|
||||
rect6 = document.getElementById("mtd6").getBoundingClientRect();
|
||||
rect7 = document.getElementById("mtd7").getBoundingClientRect();
|
||||
rect8 = document.getElementById("mtd8").getBoundingClientRect();
|
||||
test(function() {
|
||||
assert_approx_equals(rect1.left - rect0.right, 5, epsilon);
|
||||
assert_approx_equals(rect2.left - rect1.right, 16, epsilon);
|
||||
assert_approx_equals(rect4.left - rect3.right, 5, epsilon);
|
||||
assert_approx_equals(rect5.left - rect4.right, 16, epsilon);
|
||||
assert_approx_equals(rect7.left - rect6.right, 5, epsilon);
|
||||
assert_approx_equals(rect8.left - rect7.right, 16, epsilon);
|
||||
}, "columnspacing");
|
||||
test(function() {
|
||||
assert_approx_equals(rect3.top - rect0.bottom, 11, epsilon);
|
||||
assert_approx_equals(rect4.top - rect1.bottom, 11, epsilon);
|
||||
assert_approx_equals(rect5.top - rect2.bottom, 11, epsilon);
|
||||
assert_approx_equals(rect6.top - rect3.bottom, 27, epsilon);
|
||||
assert_approx_equals(rect7.top - rect4.bottom, 27, epsilon);
|
||||
assert_approx_equals(rect8.top - rect5.bottom, 27, epsilon);
|
||||
}, "rowspacing");
|
||||
// Remember to subtract border
|
||||
test(function() {
|
||||
assert_approx_equals(rect0.left - rectTable.left - 2, 7, epsilon);
|
||||
assert_approx_equals(rect3.left - rectTable.left - 2, 7, epsilon);
|
||||
assert_approx_equals(rect6.left - rectTable.left - 2, 7, epsilon);
|
||||
}, "framespacing left");
|
||||
test(function() {
|
||||
assert_approx_equals(rect0.top - rectTable.top - 2, 20, epsilon);
|
||||
assert_approx_equals(rect1.top - rectTable.top - 2, 20, epsilon);
|
||||
assert_approx_equals(rect2.top - rectTable.top - 2, 20, epsilon);
|
||||
}, "framespacing top");
|
||||
test(function() {
|
||||
assert_approx_equals(rectTable.bottom - rect6.bottom - 2, 20, epsilon);
|
||||
assert_approx_equals(rectTable.bottom - rect7.bottom - 2, 20, epsilon);
|
||||
assert_approx_equals(rectTable.bottom - rect8.bottom - 2, 20, epsilon);
|
||||
}, "framespacing bottom");
|
||||
test(function() {
|
||||
assert_approx_equals(rectTable.right - rect2.right - 2, 7, epsilon);
|
||||
assert_approx_equals(rectTable.right - rect5.right - 2, 7, epsilon);
|
||||
assert_approx_equals(rectTable.right - rect8.right - 2, 7, epsilon);
|
||||
}, "framespacing right");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>table-width-3</title>
|
||||
<meta charset="utf-8"/>
|
||||
<style type="text/css">
|
||||
html { background-color: grey; }
|
||||
td { border: 1px solid white;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
padding-right: 1px;
|
||||
padding-left: 1px;
|
||||
background-color: black;
|
||||
color: red; }
|
||||
mi, mtext { font-size: 3em; }
|
||||
span { font-style: italic; display: inline-block; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<math>
|
||||
<mphantom>
|
||||
<mi>f</mi>
|
||||
</mphantom>
|
||||
</math>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>table-width-3</title>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="match" href="table-width-3-ref.html"/>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=415413"/>
|
||||
<style type="text/css">
|
||||
html { background-color: grey; }
|
||||
td { border: 1px solid white;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
padding-right: 1px;
|
||||
padding-left: 1px;
|
||||
background-color: black;
|
||||
color: black; }
|
||||
mi, mtext { font-size: 3em; }
|
||||
span { font-style: italic; display: inline-block; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<math>
|
||||
<mi> f </mi>
|
||||
</math>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -1,2 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="whitespace-trim-1-ref.html"/>
|
||||
<math><mo minsize="10em"> ( </mo></math>
|
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="whitespace-trim-2-ref.html"/>
|
||||
<math><mi> ( </mi></math>
|
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="whitespace-trim-3-ref.html"/>
|
||||
<math><mi> ℎ </mi></math>
|
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="whitespace-trim-4-ref.html"/>
|
||||
<math><ms> x </ms></math>
|
|
@ -1,4 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="whitespace-trim-5-ref.html"/>
|
||||
<math><mtext>|</mtext><mi> x </mi><mtext>|</mtext></math>
|
||||
<math><mtext>|</mtext><mn> x </mn><mtext>|</mtext></math>
|
||||
<math><mtext>|</mtext><mo> x </mo><mtext>|</mtext></math>
|
|
@ -15,49 +15,49 @@
|
|||
<table>
|
||||
<td>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mphantom>
|
||||
<mn>60</mn>
|
||||
<mo>⁢</mo>
|
||||
<msqrt>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>-</mo>
|
||||
<mo>5</mo>
|
||||
</msqrt>
|
||||
</mphantom>
|
||||
<mphantom>
|
||||
<mn>60</mn>
|
||||
<mo>⁢</mo>
|
||||
<msqrt>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>-</mo>
|
||||
<mo>5</mo>
|
||||
</msqrt>
|
||||
</mphantom>
|
||||
</math>
|
||||
</td>
|
||||
</table>
|
||||
<table>
|
||||
<td>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mphantom>
|
||||
<mroot>
|
||||
<mfrac>
|
||||
<mn>8</mn>
|
||||
<mn>90</mn>
|
||||
</mfrac>
|
||||
<mn>61</mn>
|
||||
</mroot>
|
||||
</mphantom>
|
||||
<mphantom>
|
||||
<mroot>
|
||||
<mfrac>
|
||||
<mn>8</mn>
|
||||
<mn>90</mn>
|
||||
</mfrac>
|
||||
<mn>61</mn>
|
||||
</mroot>
|
||||
</mphantom>
|
||||
</math>
|
||||
</td>
|
||||
</table>
|
||||
<table>
|
||||
<td>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mphantom>
|
||||
<mphantom>
|
||||
<mo>|</mo>
|
||||
<mo>{</mo>
|
||||
<mtable>
|
||||
<mtr><mtd><mn>0</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>5</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>9</mn></mtd></mtr>
|
||||
</mtable>
|
||||
<mo>}</mo>
|
||||
<mo>{</mo>
|
||||
<mtable>
|
||||
<mtr><mtd><mn>0</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>5</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>9</mn></mtd></mtr>
|
||||
</mtable>
|
||||
<mo>}</mo>
|
||||
<mo>|</mo>
|
||||
</mphantom>
|
||||
</mphantom>
|
||||
</math>
|
||||
</td>
|
||||
</table>
|
|
@ -1,6 +1,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Check that the content box is large enough</title>
|
||||
<link rel="match" href="table-width-1-ref.xhtml"/>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=363240"/>
|
||||
<style type="text/css">
|
||||
html { background-color: grey; }
|
||||
td { border: 1px solid white;
|
||||
|
@ -16,47 +18,47 @@
|
|||
<table>
|
||||
<td>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mn>60</mn>
|
||||
<mo>⁢</mo>
|
||||
<msqrt>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>-</mo>
|
||||
<mo>5</mo>
|
||||
</msqrt>
|
||||
</mrow>
|
||||
<mrow>
|
||||
<mn>60</mn>
|
||||
<mo>⁢</mo>
|
||||
<msqrt>
|
||||
<mn>2</mn>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>-</mo>
|
||||
<mo>5</mo>
|
||||
</msqrt>
|
||||
</mrow>
|
||||
</math>
|
||||
</td>
|
||||
</table>
|
||||
<table>
|
||||
<td>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mroot>
|
||||
<mfrac>
|
||||
<mn>8</mn>
|
||||
<mn>90</mn>
|
||||
</mfrac>
|
||||
<mn>61</mn>
|
||||
</mroot>
|
||||
<mroot>
|
||||
<mfrac>
|
||||
<mn>8</mn>
|
||||
<mn>90</mn>
|
||||
</mfrac>
|
||||
<mn>61</mn>
|
||||
</mroot>
|
||||
</math>
|
||||
</td>
|
||||
</table>
|
||||
<table>
|
||||
<td>
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mrow>
|
||||
<mrow>
|
||||
<mo>|</mo>
|
||||
<mo>{</mo>
|
||||
<mtable>
|
||||
<mtr><mtd><mn>0</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>5</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>9</mn></mtd></mtr>
|
||||
</mtable>
|
||||
<mo>}</mo>
|
||||
<mo>{</mo>
|
||||
<mtable>
|
||||
<mtr><mtd><mn>0</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>5</mn></mtd></mtr>
|
||||
<mtr><mtd><mn>9</mn></mtd></mtr>
|
||||
</mtable>
|
||||
<mo>}</mo>
|
||||
<mo>|</mo>
|
||||
</mrow>
|
||||
</mrow>
|
||||
</math>
|
||||
</td>
|
||||
</table>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>table-width-2</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mrow style="width: 5em;"></mrow></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mrow style="width: 5em;"></mrow></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>table-width-2</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="match" href="table-width-2-ref.html"/>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=459363"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mspace width="5em"></mspace></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<math>
|
||||
<mtable>
|
||||
<mtr>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
<mtd><mpadded width="5em"></mpadded></mtd>
|
||||
<mtd><mtext>|</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
</math>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -29,17 +29,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<math>
|
||||
<mphantom>
|
||||
<mi>f</mi>
|
||||
</mphantom>
|
||||
</math>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
|
@ -3,6 +3,8 @@
|
|||
<head>
|
||||
<title>table-width-3</title>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="match" href="table-width-3-ref.html"/>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=415413"/>
|
||||
<style type="text/css">
|
||||
html { background-color: grey; }
|
||||
td { border: 1px solid white;
|
||||
|
@ -27,15 +29,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<math>
|
||||
<mi> f </mi>
|
||||
</math>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
|
@ -3,6 +3,8 @@
|
|||
<head>
|
||||
<title>table-width-4</title>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="match" href="table-width-4-ref.html"/>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=941607"/>
|
||||
<style type="text/css">
|
||||
html { background-color: grey; }
|
||||
td { border: 1px solid white;
|
Загрузка…
Ссылка в новой задаче