tor-browser

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

font-size-math-001.tentative.html (1454B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>font-size: math</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 that a specified font-size: math behaves like 1em when mixed with other keyword and relative sizes.">
      9    <link rel="match" href="font-size-math-001.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    <div class="container">
     21      <div style="font-size: medium;">
     22        <div style="font-size: math;">X</div>
     23      </div>
     24      <div style="font-size: x-large;">
     25        <div style="font-size: 200%">
     26          <div style="font-size: 3em">
     27            <div style="font-size: smaller">
     28              <div style="font-size: math;">
     29                <div style="font-size: larger">
     30                  <div style="font-size: 4em">
     31                    <div style="font-size: 500%">X</div>
     32                  </div>
     33                </div>
     34              </div>
     35            </div>
     36          </div>
     37        </div>
     38      </div>
     39    </div>
     40  </body>
     41 </html>