math-script-level-auto-and-math-style-002.tentative-ref.html (634B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>math-script-level: auto and math-style (reference)</title> 5 <meta charset="utf-8"> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style> 8 .container { 9 /* Ahem font does not have a MATH table so the font-size scale factor 10 is always 0.71^{computed - inherited math script level} */ 11 font: 500px/1 Ahem; 12 } 13 </style> 14 </head> 15 <body> 16 <p>Test passes if you see a square of side 500 × 0.71^(1 − 0) = 355px.</p> 17 <div class="container"> 18 <div style="font-size: 355px">X</div> 19 </div> 20 </body> 21 </html>