tor-browser

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

padding-border-margin-004.html (1337B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>Padding/border/margin on an mi with italic mathvariant</title>
      6 <link rel="help" href="https://w3c.github.io/mathml-core/#layout-algorithms">
      7 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling">
      8 <link rel="help" href="https://w3c.github.io/mathml-core/#the-mathvariant-attribute">
      9 <link rel="help" href="https://w3c.github.io/mathml-core/#math-auto-transform">
     10 <link rel="help" href="https://w3c.github.io/mathml-core/#italic-mappings">
     11 <link rel="match" href="padding-border-margin-004-ref.html"/>
     12 <meta name="assert" content="Verify visual rendering of padding/border/margin on an mi with italic mathvariant.">
     13 <style>
     14  @font-face {
     15    font-family: TestFont;
     16    src: url("/fonts/math/mathvariant-italic.woff");
     17  }
     18  math  {
     19    font-family: TestFont;
     20    font-size: 300px;
     21  }
     22 </style>
     23 <body>
     24  <p>This test passes if you see the text <code>1d434</code> in cyan on a blue
     25    background, surrounded by a 10px padding, surrounded by a 10px
     26    yellow dashed border, itself surrounded by a 10px pink margin.</p>
     27  <div style="background: pink; position: absolute; left: 10px; top: 4em;">
     28    <math>
     29      <mi style="background: blue; border: 10px dashed yellow; padding: 10px; margin: 10px; color: cyan;">&#x41;</mi>
     30    </math>
     31  </div>
     32 </body>
     33 </html>