tor-browser

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

legacy-scriptminsize-attribute.html (996B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>legacy scriptminsize attribute</title>
      6 <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mstyle.attrs">
      7 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling">
      8 <link rel="help" href="https://w3c.github.io/mathml-core/#text-mtext">
      9 <link rel="match" href="legacy-scriptminsize-attribute-ref.html"/>
     10 <meta name="assert" content="Verify scriptminsize attribute is no longer parsed.">
     11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12 <style>
     13  math {
     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: 100px/1 Ahem;
     17  }
     18 </style>
     19 </head>
     20 <body>
     21  <p>Test passes if you see a square of size 71px.</p>
     22  <div>
     23    <math>
     24      <mstyle scriptminsize="100px">
     25        <mstyle scriptlevel="1">
     26          <mn>X</mn>
     27        </mstyle>
     28      </mstyle>
     29    </math>
     30  </div>
     31 </body>
     32 </html>