Bug 1568520 [wpt PR 18037] - MathML: Add tests to check legacy mathsize 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 ( https://github.com/mathml-refresh/mathml/issues/7 )
--

wpt-commits: 54f7b9af46a8a8b6e9d43907d19d3250cbfbc83e
wpt-pr: 18037
This commit is contained in:
Frédéric Wang 2019-08-01 15:13:11 +00:00 committed by moz-wptsync-bot
parent 035180adc5
commit b6eb2d693e
2 changed files with 36 additions and 0 deletions

View File

@ -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>

View File

@ -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>