tor-browser

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

subsup-legacy-scriptshift-attributes-001.tentative.html (2630B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>msub/msup/msubsup/mmultiscripts subscriptshift and superscriptshift attributes</title>
      6    <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.msub">
      7    <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.msup">
      8    <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.msunsup">
      9    <link rel="help" href="https://www.w3.org/TR/MathML3/chapter3.html#presm.mmultiscripts">
     10    <link rel="help" href="https://w3c.github.io/mathml-core/#subscripts-and-superscripts-msub-msup-msubsup">
     11    <link rel="help" href="https://w3c.github.io/mathml-core/#prescripts-and-tensor-indices-mmultiscripts">
     12    <link rel="match" href="subsup-legacy-scriptshift-attributes-001.tentative-ref.html">
     13  </head>
     14  <body>
     15    <p>Test passes if the green squares are not about 300px away from the blue squares.</p>
     16    <p>
     17      <math>
     18        <mmultiscripts subscriptshift="300px" superscriptshift="300px">
     19          <mspace width="30px" height="30px" style="background: blue;"></mspace>
     20          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     21          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     22          <mprescripts/>
     23          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     24          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     25        </mmultiscripts>
     26        <msub subscriptshift="300px">
     27          <mspace width="30px" height="30px" style="background: blue;"></mspace>
     28          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     29        </msub>
     30        <msup superscriptshift="300px">
     31          <mspace width="30px" height="30px" style="background: blue;"></mspace>
     32          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     33        </msup>
     34        <msubsup subscriptshift="300px" superscriptshift="300px">
     35          <mspace width="30px" height="30px" style="background: blue;"></mspace>
     36          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     37          <mspace width="10px" height="10px" style="background: lightgreen;"></mspace>
     38        </msubsup>
     39      </math>
     40    </p>
     41    <script src="/mathml/support/feature-detection.js"></script>
     42    <script>
     43      MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");
     44      MathMLFeatureDetection.ensure_for_match_reftest("has_msubsup");
     45      MathMLFeatureDetection.ensure_for_match_reftest("has_mmultiscripts");
     46    </script>
     47  </body>
     48 </html>