tor-browser

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

scale-stretchy-001.html (1859B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8"/>
      5    <title>Maximal size for a vertical arrow stretched by scaling</title>
      6    <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=414277">
      7    <link rel="match" href="scale-stretchy-001-ref.html">
      8    <meta name="assert" content="Verify maximal height of vertical operator stretched by scaling.">
      9  </head>
     10  <body>
     11    <!-- This assumes that the system fonts do not provide a way to draw a
     12         bigger U+290B DOWNWARDS TRIPLE ARROW and that preference
     13         `mathml.scale_stretchy_operators` is enabled, so that we exercise
     14         stretching of largeop using a scale. This test may still pass if
     15         stretching is not performed via a scale though. -->
     16    <table style="position: absolute;">
     17      <tr>
     18        <td><div style="height: 200px; width: 5px; background: black"/></td>
     19        <td>
     20          <math xmlns="http://www.w3.org/1998/Math/MathML">
     21            <mrow>
     22              <mspace height="50px" depth="50px" width="5px"
     23                      style="background: yellow" />
     24              <mo style="color: blue;"></mo>
     25            </mrow>
     26          </math>
     27        </td>
     28      </tr>
     29    </table>
     30    <!-- The red rect is slightly taller than the target size so it should
     31         completely cover the operator. -->
     32    <table style="position: absolute;">
     33      <tr>
     34        <td><div style="height: 200px; width: 5px; background: black"/></td>
     35        <td>
     36          <math xmlns="http://www.w3.org/1998/Math/MathML">
     37            <mrow>
     38              <mspace height="50px" depth="50px" width="5px"
     39                      style="background: yellow" />
     40              <mspace height="55px" depth="55px" width="50px"
     41                      style="background: red;"/>
     42            </mrow>
     43          </math>
     44        </td>
     45      </tr>
     46    </table>
     47  </body>
     48 </html>