tor-browser

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

mrow-painting-order-ref.html (2486B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>mrow painting order (reference)</title>
      6    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      7    <style>
      8      .container {
      9          position: absolute;
     10          left: 2em;
     11          top: 10em;
     12      }
     13      math {
     14          font: 50px/1 Ahem;
     15      }
     16      .hidden {
     17          visibility: hidden;
     18      }
     19    </style>
     20  </head>
     21  <body>
     22    <p>This test passes if there is no red and content is stacked such that</p>
     23    <ul>
     24      <li>foreground (dark colors) is above background (light colors)</li>
     25      <li>yellow foreground is above green foreground which is itself above blue foreground</li>
     26      <li>yellow background is above green background which is itself above blue background</li>
     27    </ul>
     28    <!-- Paint lightblue background -->
     29    <div class="container">
     30      <math>
     31        <mrow>
     32          <mrow style="background: lightblue"><mn class="hidden">XXÉ</mn></mrow>
     33        </mrow>
     34      </math>
     35    </div>
     36    <!-- Paint lightgreen background -->
     37    <div class="container">
     38      <math>
     39        <mrow>
     40          <mn class="hidden">XXÉX</mn>
     41          <mrow style="background: lightgreen; margin-inline-start: -3em"><mn style="visibility: hidden">p&#xA0;XXÉ</mn></mrow>
     42        </mrow>
     43      </math>
     44    </div>
     45    <!-- Paint lightyellow background -->
     46    <div class="container">
     47      <math>
     48        <mrow>
     49          <mn class="hidden">XXÉX</mn>
     50          <mn class="hidden" style="margin-inline-start: -3em">p&#xA0;XXÉX</mn>
     51          <mrow style="background: lightyellow; margin-inline-start: -3em"><mn style="visibility: hidden">p&#xA0;X</mn></mrow>
     52        </mrow>
     53      </math>
     54    </div>
     55    <!-- Paint blue foreground -->
     56    <div class="container">
     57      <math>
     58        <mrow>
     59          <mn style="color: blue;">XXÉ</mn>
     60        </mrow>
     61      </math>
     62    </div>
     63    <!-- Paint green foreground -->
     64    <div class="container">
     65      <math>
     66        <mrow>
     67          <mn class="hidden">XXÉX</mn>
     68          <mn style="color: green; margin-inline-start: -3em">p&#xA0;XXÉ</mn>
     69        </mrow>
     70      </math>
     71    </div>
     72    <!-- Paint yellow foreground -->
     73    <div class="container">
     74      <math>
     75        <mrow>
     76          <mn class="hidden">XXÉX</mn>
     77          <mn class="hidden" style="margin-inline-start: -3em">p&#xA0;XXÉX</mn>
     78          <mn style="color: yellow; margin-inline-start: -3em">p&#xA0;X</mn>
     79        </mrow>
     80      </math>
     81    </div>
     82  </body>
     83 </html>