blob: 0765630fac3376b305504304c61aac1b1123663d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>math-script-level: auto and math-style</title>
<meta charset="utf-8">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3746">
<meta name="assert" content="If math-script-level is 'auto' and the inherited value of math-style is 'display' then the computed value of math-script-level is the inherited value.">
<link rel="match" href="math-script-level-auto-and-math-style-001.tentative-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 100 × 0.71^(0 − 0) = 100px.</p>
<div class="container" style="math-style: display;">
<div style="math-script-level: auto">X</div>
</div>
</body>
</html>