Skip to content

Commit

Permalink
Make test for mfrac alignment attributes check that they are ignored. (
Browse files Browse the repository at this point in the history
…#18194)

These attributes have been removed from MathML core:
w3c/mathml#30
  • Loading branch information
fred-wang authored Jul 31, 2019
1 parent 619d17b commit cfada7e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@
<title>Fraction numalign denomalign</title>
</head>
<body>
<p>This test passes if you see 3 fractions with a numerator respectively
aligned left/center/right with respect to the denominator ;
followed by 3 fractions with a denominator respectively aligned
left/center/right with respect to the numerator.</p>
<p>This test passes if you see 6 fractions with numerators and
denominators horizontally centered.</p>
<p>
<math>
<mfrac>
<mrow>
<mspace width="10px" height="20px"></mspace>
<mspace width="10px" height="20px" style="background: blue;"></mspace>
<mspace width="20px" height="20px"></mspace>
<mspace width="10px" height="20px"></mspace>
</mrow>
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
</mfrac>
Expand All @@ -32,8 +31,9 @@
<math>
<mfrac>
<mrow>
<mspace width="20px" height="20px"></mspace>
<mspace width="10px" height="20px"></mspace>
<mspace width="10px" height="20px" style="background: blue;"></mspace>
<mspace width="10px" height="20px"></mspace>
</mrow>
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
</mfrac>
Expand All @@ -44,8 +44,9 @@
<mfrac>
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
<mrow>
<mspace width="10px" height="20px"></mspace>
<mspace width="10px" height="20px" style="background: blue;"></mspace>
<mspace width="20px" height="20px"></mspace>
<mspace width="10px" height="20px"></mspace>
</mrow>
</mfrac>
</math>
Expand All @@ -63,8 +64,9 @@
<mfrac>
<mspace width="30px" height="20px" style="background: cyan;"></mspace>
<mrow>
<mspace width="20px" height="20px"></mspace>
<mspace width="10px" height="20px"></mspace>
<mspace width="10px" height="20px" style="background: blue;"></mspace>
<mspace width="10px" height="20px"></mspace>
</mrow>
</mfrac>
</math>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
<meta charset="utf-8">
<title>Fraction numalign denomalign</title>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#fractions-mfrac">
<meta name="assert" content="This fraction alignment with the numalign/denomalign attributes.">
<meta name="assert" content="Check that legacy numalign/denomalign attributes are ignored.">
<link rel="match" href="frac-numalign-denomalign-001-ref.html">
</head>
<body>
<p>This test passes if you see 3 fractions with a numerator respectively
aligned left/center/right with respect to the denominator ;
followed by 3 fractions with a denominator respectively aligned
left/center/right with respect to the numerator.</p>
<p>This test passes if you see 6 fractions with numerators and
denominators horizontally centered.</p>
<p>
<math>
<mfrac numalign="left">
Expand Down

0 comments on commit cfada7e

Please sign in to comment.