summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mstyle-4.xhtml
blob: e9349775573b5a062f6abdcaa881399b0a7659d3 (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
76
77
78
<?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>

<!-- The attributes below should no longer have effect on <mstyle>/<math>
     elements. See bug 838509 -->

<table>
  <tbody>
    <tr>
      <td>mover: accent</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false">
          <mstyle accent="false">
            <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" accentunder="false">
          <mstyle accentunder="false">
            <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" accent="false" accentunder="false">
          <mstyle accent="false" accentunder="false">
            <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>