summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mstyle-4-ref.xhtml
blob: e82876083e2ca7117899417d8bc4e2dc00e03c6e (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="us-ascii"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type"
  content="application/xhtml+xml; charset=us-ascii" />
  <title>Test mstyle</title>
  <style type="text/css">
    table { width: 100%;  border-collapse: collapse; }
    td { border: solid black 1px; }
  </style>
</head>

<body>

<table>
  <tbody>
    <tr>
      <td>mover: accent</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
          <mstyle>
            <mover>
              <!-- We assume &#x23de; is accent in the operator dictionary -->
              <mrow>
                <mi>x</mi>
                <mo>+</mo>
                <mi>y</mi>
                <mo>+</mo>
                <mi>z</mi>
              </mrow>
              <mo>&#x23de;</mo>
            </mover>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>munder: accentunder</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
          <mstyle>
            <munder>
              <!-- We assume &#x23df; is accent in the operator dictionary -->
              <mrow>
                <mi>x</mi>
                <mo>+</mo>
                <mi>y</mi>
                <mo>+</mo>
                <mi>z</mi>
              </mrow>
              <mo>&#x23df;</mo>
            </munder>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>munderover: accent, accentunder</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML">
          <mstyle>
            <munderover>
              <!-- We assume &#x23de; and &#x23df; are accents in the operator dictionary -->
              <mrow>
                <mi>x</mi>
                <mo>+</mo>
                <mi>y</mi>
                <mo>+</mo>
                <mi>z</mi>
              </mrow>
              <mo>&#x23df;</mo>
              <mo>&#x23de;</mo>
            </munderover>
          </mstyle>
        </math></td>
    </tr>
  </tbody>
</table>
</body>
</html>