summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/scripts/munderover-align-accent-true.html
blob: e6578ade5238fd615e011573b1b5720598fe9685 (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
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
  <head>
    <title>Horizontal alignment of base with munder/mover scripts (accent="true")</title>
    <link rel="help" href="https://w3c.github.io/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
    <link rel="match" href="munderover-align-accent-true-ref.html">
    <meta name="assert" content="base, underscript and overscript should be horizontally aligned.">
  </head>
  <body>
    <table border="1">
      <tr>
        <th colspan="4">munderover</th>
      </tr>
      <tr>
        <td align="center">Over &lt; Base &lt; Under</td>
        <td align="center">Over &gt; Base &gt; Under</td>
        <td align="center">Over = Under &lt; Base</td>
        <td align="center">Over = Under &gt; Base</td>
      </tr>
      <tr>
        <td align="center">
          <math>
            <munderover accent="true" accentunder="true">
              <mspace height="15px" width="50px" mathbackground="blue"/>
              <mspace height="15px" width="75px" mathbackground="red"/>
              <mspace height="15px" width="25px" mathbackground="red"/>
            </munderover>
          </math>
        </td>
        <td align="center">
          <math>
            <munderover accent="true" accentunder="true">
              <mspace height="15px" width="50px" mathbackground="blue"/>
              <mspace height="15px" width="25px" mathbackground="red"/>
              <mspace height="15px" width="75px" mathbackground="red"/>
            </munderover>
          </math>
        </td>
        <td align="center">
          <math>
            <munderover accent="true" accentunder="true">
              <mspace height="15px" width="75px" mathbackground="blue"/>
              <mspace height="15px" width="25px" mathbackground="red"/>
              <mspace height="15px" width="25px" mathbackground="red"/>
            </munderover>
          </math>
        </td>
        <td align="center">
          <math>
            <munderover accent="true" accentunder="true">
              <mspace height="15px" width="25px" mathbackground="blue"/>
              <mspace height="15px" width="75px" mathbackground="red"/>
              <mspace height="15px" width="75px" mathbackground="red"/>
            </munderover>
          </math>
        </td>
      </tr>
    </table>
  </body>
</html>