summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/scripts/none-001.html
blob: f1bfb442f79b3adf3ba51a5aeaa7b6f82ff522d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>none should render as an mrow</title>
    <link rel="help" href="https://w3c.github.io/mathml-core/#subscripts-and-superscripts-msub-msup-msubsup">
    <meta name="assert" content="Verify that none uses mrow layout">
    <link rel="match" href="none-001-ref.html">
  </head>
  <body>
    <math>
      <none>
        <mspace width="10px" height="20px" style="background: cyan;"></mspace>
        <mspace width="30px" height="10px" depth="5px" style="background: blue;"></mspace>
        <mspace width="20px" height="15px" depth="30px" style="background: lightblue;"></mspace>
        <mspace width="25px" depth="20px" style="background: cyan;"></mspace>
        <mspace width="40px" height="5px" depth="15px" style="background: blue;"></mspace>
        <mspace width="20px" height="35px" depth="5px" style="background: lightblue;"></mspace>
      </none>
    </math>
    <script src="/mathml/support/feature-detection.js"></script>
    <script>
      MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");
    </script>
  </body>
</html>