tor-browser

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

mo-form-fallback.html (1125B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8"/>
      5    <title>form fallback</title>
      6    <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
      7    <meta name="assert" content="Verify fallback to postfix/prefix forms.">
      8    <link rel="match" href="mo-form-fallback-ref.html">
      9  </head>
     10  <body>
     11 
     12    <!-- The left (respectively right) parenthesis only has a prefix
     13         (respectively postfix) form which gives its stretchiness.
     14         In theory, the parenthesis in the middle of the <math> element are
     15         considered infix operators and should not stretch. Let's check that we
     16         fallback to the postfix/prefix forms and actually make them stretchy.
     17         This is to handle bad MathML markup that misses explicit <mrow> tags.
     18      -->
     19 
     20    <math>
     21      <mo>(</mo> <mspace height="3em" depth="3em"/> <mo>)</mo>
     22      <mo>(</mo> <mspace height="3em" depth="3em"/> <mo>)</mo>
     23    </math>
     24 
     25    <script src="/mathml/support/feature-detection.js"></script>
     26    <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script>
     27  </body>
     28 </html>