Skip to content

Commit 1d32c07

Browse files
fred-wangmoz-wptsync-bot
authored andcommittedAug 5, 2019
Bug 1570249 [wpt PR 18194] - Make test for mfrac alignment attributes check that they are ignored., a=testonly
Automatic update from web-platform-tests Make test for mfrac alignment attributes check that they are ignored. (#18194) These attributes have been removed from MathML core: w3c/mathml#30 -- wpt-commits: cfada7e6cb379699fa94c7ed8fcb97082327e10c wpt-pr: 18194
1 parent ac7f832 commit 1d32c07

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
 

‎testing/web-platform/tests/mathml/presentation-markup/fractions/frac-numalign-denomalign-001-ref.html

+10-8
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
<title>Fraction numalign denomalign</title>
66
</head>
77
<body>
8-
<p>This test passes if you see 3 fractions with a numerator respectively
9-
aligned left/center/right with respect to the denominator ;
10-
followed by 3 fractions with a denominator respectively aligned
11-
left/center/right with respect to the numerator.</p>
8+
<p>This test passes if you see 6 fractions with numerators and
9+
denominators horizontally centered.</p>
1210
<p>
1311
<math>
1412
<mfrac>
1513
<mrow>
14+
<mspace width="10px" height="20px"></mspace>
1615
<mspace width="10px" height="20px" style="background: blue;"></mspace>
17-
<mspace width="20px" height="20px"></mspace>
16+
<mspace width="10px" height="20px"></mspace>
1817
</mrow>
1918
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
2019
</mfrac>
@@ -32,8 +31,9 @@
3231
<math>
3332
<mfrac>
3433
<mrow>
35-
<mspace width="20px" height="20px"></mspace>
34+
<mspace width="10px" height="20px"></mspace>
3635
<mspace width="10px" height="20px" style="background: blue;"></mspace>
36+
<mspace width="10px" height="20px"></mspace>
3737
</mrow>
3838
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
3939
</mfrac>
@@ -44,8 +44,9 @@
4444
<mfrac>
4545
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
4646
<mrow>
47+
<mspace width="10px" height="20px"></mspace>
4748
<mspace width="10px" height="20px" style="background: blue;"></mspace>
48-
<mspace width="20px" height="20px"></mspace>
49+
<mspace width="10px" height="20px"></mspace>
4950
</mrow>
5051
</mfrac>
5152
</math>
@@ -63,8 +64,9 @@
6364
<mfrac>
6465
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
6566
<mrow>
66-
<mspace width="20px" height="20px"></mspace>
67+
<mspace width="10px" height="20px"></mspace>
6768
<mspace width="10px" height="20px" style="background: blue;"></mspace>
69+
<mspace width="10px" height="20px"></mspace>
6870
</mrow>
6971
</mfrac>
7072
</math>

‎testing/web-platform/tests/mathml/presentation-markup/fractions/frac-numalign-denomalign-001.html

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44
<meta charset="utf-8">
55
<title>Fraction numalign denomalign</title>
66
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#fractions-mfrac">
7-
<meta name="assert" content="This fraction alignment with the numalign/denomalign attributes.">
7+
<meta name="assert" content="Check that legacy numalign/denomalign attributes are ignored.">
88
<link rel="match" href="frac-numalign-denomalign-001-ref.html">
99
</head>
1010
<body>
11-
<p>This test passes if you see 3 fractions with a numerator respectively
12-
aligned left/center/right with respect to the denominator ;
13-
followed by 3 fractions with a denominator respectively aligned
14-
left/center/right with respect to the numerator.</p>
11+
<p>This test passes if you see 6 fractions with numerators and
12+
denominators horizontally centered.</p>
1513
<p>
1614
<math>
1715
<mfrac numalign="left">

0 commit comments

Comments
 (0)
Please sign in to comment.