summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/operators/mo-movablelimits-from-in-flow.html
blob: d1a2422c985780a9978f5850e3f5d412ebdb5123 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>&lt;mo&gt; movablelimits</title>
    <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
    <meta name="assert" content="Verify movablelimits is read from the first in-flow child.">
    <style>
      math, math * {
          font: 25px/1 Ahem;
      }
      .oof1 {
          position: absolute;
      }
      .oof2 {
          position: fixed;
      }
      .nobox {
          display: none;
      }
    </style>
    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
    <link rel="match" href="mo-movablelimits-from-in-flow-ref.html">
  </head>
  <body>
    <math>
      <munder>
        <mo class="oof1" movablelimits="false"></mo>
        <mo class="oof2" movablelimits="false"></mo>
        <mo class="nobox" movablelimits="false"></mo>
        <mo lspace="0px" rspace="0px" movablelimits="true">+</mo>
        <mn>1</mn>
      </munder>
      <mover>
        <mo class="oof1" movablelimits="false"></mo>
        <mo class="oof2" movablelimits="false"></mo>
        <mo class="nobox" movablelimits="false"></mo>
        <mo lspace="0px" rspace="0px" movablelimits="true">+</mo>
        <mn>1</mn>
      </mover>
      <munderover>
        <mo class="oof1" movablelimits="false"></mo>
        <mo class="oof2" movablelimits="false"></mo>
        <mo class="nobox" movablelimits="false"></mo>
        <mo lspace="0px" rspace="0px" movablelimits="true">+</mo>
        <mn>1</mn>
        <mn>2</mn>
      </munderover>
    </math>
    <script src="/mathml/support/feature-detection.js"></script>
    <script>MathMLFeatureDetection.ensure_for_match_reftest("has_munderover");</script>
  </body>
</html>