tor-browser

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

display-2.html (1241B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>display attribute VS legacy mode attribute</title>
      6 <link rel="help" href="https://w3c.github.io/mathml-core/#the-top-level-math-element">
      7 <link rel="help" href="https://www.w3.org/TR/MathML3/chapter2.html#id.2.2.2">
      8 <link rel="match" href="display-2-ref.html"/>
      9 <meta name="assert" content="Verify that the legacy mode attribute has no effect.">
     10 </head>
     11 <body>
     12  <p>Test passes if you see four green squares, the last one
     13    centered and the others left-aligned.</p>
     14  <p>
     15    <math mode="inline">
     16      <mspace width="100px" height="100px" style="background: green"></mspace>
     17    </math>
     18  </p>
     19  <p>
     20    <math mode="display">
     21      <mspace width="100px" height="100px" style="background: green"></mspace>
     22    </math>
     23  </p>
     24  <p>
     25    <math display="inline" mode="display">
     26      <mspace width="100px" height="100px" style="background: green"></mspace>
     27    </math>
     28  </p>
     29  <p>
     30    <math display="block" mode="inline">
     31      <mspace width="100px" height="100px" style="background: green"></mspace>
     32    </math>
     33  </p>
     34  <script src="/mathml/support/feature-detection.js"></script>
     35  <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script>
     36 </body>
     37 </html>