Skip to content

Commit

Permalink
Bug 1568520 [wpt PR 18037] - MathML: Add tests to check legacy mathsi…
Browse files Browse the repository at this point in the history
…ze values, a=testonly

Automatic update from web-platform-tests
MathML: Add tests to check legacy mathsize values (#18037)

These values have been removed from MathML Core ( w3c/mathml#7 )
--

wpt-commits: 54f7b9af46a8a8b6e9d43907d19d3250cbfbc83e
wpt-pr: 18037
  • Loading branch information
fred-wang authored and moz-wptsync-bot committed Aug 5, 2019
1 parent 56c95d6 commit 7be1d20
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Legacy mathsize values</title>
</head>
<body>
<p>Test passes if you see four "A" of equal size:</p>
<math>
<mtext>A</mtext>
<mtext>A</mtext>
<mtext>A</mtext>
<mtext>A</mtext>
</math>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Legacy mathsize values</title>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#css-styling">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#legacy-mathml-style-attributes">
<meta name="assert" content="Verify that legacy values for mathsize have no effect.">
<link rel="match" href="mathsize-attribute-legacy-values-ref.html">
</head>
<body>
<p>Test passes if you see four "A" of equal size:</p>
<math>
<mtext>A</mtext>
<mtext mathsize="small">A</mtext>
<mtext mathsize="medium">A</mtext>
<mtext mathsize="big">A</mtext>
</math>
</body>
</html>

0 comments on commit 7be1d20

Please sign in to comment.