summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mstyle-2.xhtml
blob: f11f3ad8cdf4dee814bdae0129cc7bb74e3db30f (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?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>mpadded: width</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" width="1em">
          <mstyle width="1em">
            <mtext>_</mtext>
            <mpadded/>
            <mtext>_</mtext>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>mpadded: lspace</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" lspace="1em">
          <mstyle lspace="1em">
            <mtext>_</mtext>
            <mpadded/>
            <mtext>_</mtext>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>mpadded: height</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" height="1em">
          <mstyle height="1em">
            <msup>
              <mrow>
                <mtext>_</mtext>
                <mpadded/>
                <mtext>_</mtext>
              </mrow>
              <mtext>_</mtext>
            </msup>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>mpadded: depth</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" depth="1em">
          <mstyle depth="1em">
            <msub>
              <mrow>
                <mtext>_</mtext>
                <mpadded/>
                <mtext>_</mtext>
              </mrow>
              <mtext>_</mtext>
            </msub>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>mspace: width</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" width="1em">
          <mstyle width="1em">
            <mtext>_</mtext>
            <mspace/>
            <mtext>_</mtext>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>mspace: height</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" height="1em">
          <mstyle height="1em">
            <msup>
              <mrow>
                <mtext>_</mtext>
                <mspace/>
                <mtext>_</mtext>
              </mrow>
              <mtext>_</mtext>
            </msup>
          </mstyle>
        </math></td>
    </tr>
    <tr>
      <td>mspace: depth</td>
      <td><math xmlns="http://www.w3.org/1998/Math/MathML" depth="1em">
          <mstyle depth="1em">
            <msub>
              <mrow>
                <mtext>_</mtext>
                <mspace/>
                <mtext>_</mtext>
              </mrow>
              <mtext>_</mtext>
            </msub>
          </mstyle>
        </math></td>
    </tr>
  </tbody>
</table>
</body>
</html>