|
1 <?xml version="1.0" encoding="us-ascii"?> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 <head> |
|
4 <meta http-equiv="content-type" |
|
5 content="application/xhtml+xml; charset=us-ascii" /> |
|
6 <title>Test mstyle</title> |
|
7 <style type="text/css"> |
|
8 table { width: 100%; border-collapse: collapse; } |
|
9 td { border: solid black 1px; } |
|
10 </style> |
|
11 </head> |
|
12 |
|
13 <body> |
|
14 |
|
15 <!-- The attributes below (except math@display) should no longer have effect on |
|
16 <mstyle>/<math> elements. See bug 838509 --> |
|
17 |
|
18 <table> |
|
19 <tbody> |
|
20 <tr> |
|
21 <td>mo: form</td> |
|
22 <td><math xmlns="http://www.w3.org/1998/Math/MathML" form="postfix"> |
|
23 <mstyle form="postfix"> |
|
24 <mrow> |
|
25 <!-- We assume that the infix/postfix forms of _ do --> |
|
26 <!-- not have the same lspace/rspace values in the operator dictionary --> |
|
27 <mtext>_</mtext> |
|
28 <mo>_</mo> |
|
29 <mtext>_</mtext> |
|
30 </mrow> |
|
31 </mstyle> |
|
32 </math></td> |
|
33 </tr> |
|
34 <tr> |
|
35 <td>mo: lspace, rspace</td> |
|
36 <td><math xmlns="http://www.w3.org/1998/Math/MathML" lspace="0" rspace="0"> |
|
37 <mstyle lspace="0" rspace="0"> |
|
38 <mrow> |
|
39 <!-- We assume that the infix form of _ has --> |
|
40 <!-- nonzero lspace/rspace values in the operator dictionary --> |
|
41 <mtext>_</mtext> |
|
42 <mo>_</mo> |
|
43 <mtext>_</mtext> |
|
44 </mrow> |
|
45 </mstyle> |
|
46 </math></td> |
|
47 </tr> |
|
48 <tr> |
|
49 <td>mo: stretchy</td> |
|
50 <td><math xmlns="http://www.w3.org/1998/Math/MathML" stretchy="false"> |
|
51 <mstyle stretchy="false"> |
|
52 <mover> |
|
53 <!-- We assume that the arrow has stretchy=true in the operator dictionary --> |
|
54 <mtext>abcd</mtext> |
|
55 <mo>→</mo> |
|
56 </mover> |
|
57 </mstyle> |
|
58 </math></td> |
|
59 </tr> |
|
60 <tr> |
|
61 <td>mo: accent</td> |
|
62 <td><math xmlns="http://www.w3.org/1998/Math/MathML" accent="false"> |
|
63 <mstyle accent="false"> |
|
64 <mover> |
|
65 <!-- We assume ⏞ has accent=true in the operator dictionary --> |
|
66 <mrow> |
|
67 <mi>x</mi> |
|
68 <mo>+</mo> |
|
69 <mi>y</mi> |
|
70 <mo>+</mo> |
|
71 <mi>z</mi> |
|
72 </mrow> |
|
73 <mo>⏞</mo> |
|
74 </mover> |
|
75 </mstyle> |
|
76 </math></td> |
|
77 </tr> |
|
78 <tr> |
|
79 <td>mo: maxsize</td> |
|
80 <td><math xmlns="http://www.w3.org/1998/Math/MathML" maxsize="1"> |
|
81 <mstyle maxsize="1"> |
|
82 <mo>(</mo> |
|
83 <mspace height="3em"/> |
|
84 </mstyle> |
|
85 </math></td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td>mo: minsize</td> |
|
89 <td><math xmlns="http://www.w3.org/1998/Math/MathML" minsize="3"> |
|
90 <mstyle minsize="3"> |
|
91 <mo>(</mo> |
|
92 <mspace height="1em"/> |
|
93 </mstyle> |
|
94 </math></td> |
|
95 </tr> |
|
96 <tr> |
|
97 <td>mo: symmetric</td> |
|
98 <td><math xmlns="http://www.w3.org/1998/Math/MathML" symmetric="false"> |
|
99 <!-- We assume that ( has symmetric=true in the operator dictionary --> |
|
100 <mstyle symmetric="false"> |
|
101 <mtext>_</mtext> |
|
102 <mo minsize="2">(</mo> |
|
103 <mtext>_</mtext> |
|
104 </mstyle> |
|
105 </math></td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td>mo: movablelimits</td> |
|
109 <td><math xmlns="http://www.w3.org/1998/Math/MathML" movablelimits="false"> |
|
110 <!-- We assume that ∑ has movablelimits=true in the operator dictionary --> |
|
111 <mstyle movablelimits="false"> |
|
112 <munderover> |
|
113 <mo>∑</mo> |
|
114 <mi>a</mi> |
|
115 <mi>b</mi> |
|
116 </munderover> |
|
117 </mstyle> |
|
118 </math></td> |
|
119 </tr> |
|
120 <tr> |
|
121 <td>mo: largeop</td> |
|
122 <td><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" largeop="false"> |
|
123 <!-- We assume that ∑ has largeop=true in the operator dictionary --> |
|
124 <mstyle largeop="false"> |
|
125 <mo>∑</mo> |
|
126 </mstyle> |
|
127 </math></td> |
|
128 </tr> |
|
129 <!-- |
|
130 fence: This attribute generally has no direct effect on the visual rendering. |
|
131 separator: This attribute generally has no direct effect on the visual rendering. |
|
132 --> |
|
133 </tbody> |
|
134 </table> |
|
135 </body> |
|
136 </html> |