math-script-level-auto-and-math-style-003.tentative.html (1067B)
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="Initial value of math-style is 'normal'"> 10 <link rel="match" href="math-script-level-auto-and-math-style-003.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: 500px/1 Ahem; 17 } 18 </style> 19 </head> 20 <body> 21 <p>Test passes if you see a square of side 500px.</p> 22 <div class="container"> 23 <div style="font-size: math; math-depth: auto-add">X</div> 24 </div> 25 </body> 26 </html>