servo/tests/wpt/web-platform-tests/css/css-fonts/math-script-level-and-math-style/math-script-level-005.tentative.html

24 lines
999 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>math-script-level</title>
<meta charset="utf-8">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3746">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3906">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#the-math-script-level-property">
<meta name="assert" content="If the computed font-size is changed because of font-family change, math-script-level does not affect the computed value of font-size.">
<link rel="match" href="math-script-level-005.tentative-ref.html">
</head>
</head>
<body>
<p>Test passes if you see two lines of monospace text rendered with the same font-size:</p>
<div style="font-size: xx-large; font-family: serif">
<div style="font-family: monospace;">
<div>level 0</div>
</div>
<div style="math-script-level: 1; font-family: monospace;">
<div>level 1</div>
</div>
</div>
</body>
</html>