tor-browser

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

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


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>Padding/border/margin on an operator, stretchy along the block axis</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/#algorithm-for-stretching-operators-along-the-block-axis">
      8 <link rel="help" href="https://w3c.github.io/mathml-core/#layout-of-operators">
      9 <link rel="match" href="padding-border-margin-003-ref.html"/>
     10 <meta name="assert" content="Verify visual rendering of padding/border/margin on an operator, stretchy along the block axis.">
     11 <style>
     12  @font-face {
     13    font-family: TestFont;
     14    src: url("/fonts/math/stretchy.woff");
     15  }
     16  math  {
     17    font-family: TestFont;
     18    font-size: 300px;
     19  }
     20 </style>
     21 <body>
     22  <p>This test passes if you see a cyan rectangle of width 300px and
     23    height 1500px, surrounded by a 10px blue padding, surrounded by a 10px
     24    blue/yellow dashed border, itself
     25    surrounded by a 10px pink margin.</p>
     26  <div style="background: pink; position: absolute; left: 10px; top: 4em;">
     27    <math>
     28      <mrow>
     29        <mspace height="750px" depth="750px"/>
     30        <mo lspace="0" rspace="0" style="background: blue; border: 10px dashed yellow; padding: 10px; margin: 10px; color: cyan;"></mo>
     31      </mrow>
     32    </math>
     33  </div>
     34 </body>
     35 </html>