font-size-math-002.tentative.html (1076B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>font-size: math inheritance</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 <meta name="assert" content="Test inheritance for a specified font-size: math."> 9 <link rel="match" href="font-size-math-002.tentative-ref.html"> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style> 12 .container { 13 /* Ahem font does not have a MATH table so the font-size scale factor 14 is always 0.71^{computed - inherited math script level} */ 15 font: 100px/1 Ahem; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if you see a square of side 100px.</p> 21 <div class="container"> 22 <div style="font-size: math"> 23 <div> 24 <div> 25 <div> 26 <div style="math-depth: 1">X</div> 27 </div> 28 </div> 29 </div> 30 </div> 31 </div> 32 </body> 33 </html>