summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html
blob: 671c889211edc50b6e2cca4c727bf7a1abded57c (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
<!DOCTYPE html>
<html>
  <head>
    <title>Test munderover with empty scripts</title>
    <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=669932">
    <link rel="match" href="munderover-empty-scripts-ref.html">
    <meta name="assert" content="Verify elements with empty under/over scripts render the same as equivalent elements with less scripts.">
  </head>
  <body>

    <p>munder / munderover with empty overscript:
      <math>
        <munder style="background: red;">
          <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
          <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
        </munder>
      </math>
    </p>

    <p>mover / munderover with empty underscript:
      <math>
        <mover style="background: red;">
          <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
          <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
        </mover>
      </math>
    </p>

    <p>mrow / munder with empty scripts:
      <math>
        <mrow style="background: red;">
          <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
        </mrow>
      </math>
    </p>

  </body>
</html>