mirror of
https://github.com/servo/servo.git
synced 2025-06-30 12:03:38 +01:00
24 lines
999 B
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>
|