tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

math-script-level-auto-and-math-style-004.tentative.html (1181B)


      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-004.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="math-style: compact">
     24        <div style="math-style: initial">
     25          <div style="font-size: math; math-depth: auto-add">X</div>
     26        </div>
     27      </div>
     28    </div>
     29  </body>
     30 </html>