math-script-level-auto-and-math-style-005.tentative.html (1196B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>math-script-level: auto and math-style</title> 5 <meta charset="utf-8"> 6 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3746"> 7 <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#the-math-script-level-property"> 8 <link rel="help" href="https://mathml-refresh.github.io/mathml-core/#the-math-style-property"> 9 <meta name="assert" content="math-style is inherited"> 10 <link rel="match" href="math-script-level-auto-and-math-style-005.tentative-ref.html"> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style> 13 .container { 14 /* Ahem font does not have a MATH table so the font-size scale factor 15 is always 0.71^{computed - inherited math script level} */ 16 font: 100px/1 Ahem; 17 } 18 </style> 19 </head> 20 <body> 21 <p>Test passes if you see a square of side 100 × 0.71^(0 − 0) = 100px.</p> 22 <div class="container"> 23 <div style="math-style: normal;"> 24 <div> 25 <div> 26 <div style="font-size: math; math-depth: auto-add">X</div> 27 </div> 28 </div> 29 </div> 30 </div> 31 </body> 32 </html>