math-script-level-auto-and-math-style-004.tentative-ref.html (668B)
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 500px.</p> 17 <div class="container"> 18 <div> 19 <div> 20 <div style="font-size: 500px">X</div> 21 </div> 22 </div> 23 </div> 24 </body> 25 </html>