|
1 <!DOCTYPE> |
|
2 <html class="reftest-wait"> |
|
3 <head> |
|
4 <title>Test MathML columnlines</title> |
|
5 <script type="text/javascript"> |
|
6 function doTest() |
|
7 { |
|
8 var table1 = document.getElementById("table1"); |
|
9 var table2 = document.getElementById("table2"); |
|
10 |
|
11 // Table 1 setup |
|
12 table1.setAttribute("columnlines", "solid"); |
|
13 // Table 2 setup |
|
14 table2.setAttribute("columnlines", "dashed"); |
|
15 |
|
16 document.documentElement.removeAttribute("class"); |
|
17 } |
|
18 window.addEventListener("MozReftestInvalidate", doTest, false); |
|
19 </script> |
|
20 </head> |
|
21 <body> |
|
22 <b>columnlines="solid"</b> <br /> |
|
23 <math> |
|
24 <mstyle> |
|
25 <mtable id="table1"> |
|
26 <mtr> |
|
27 <mtd> |
|
28 <mtext>a</mtext> |
|
29 </mtd> |
|
30 <mtd> |
|
31 <mtext>b</mtext> |
|
32 </mtd> |
|
33 <mtd> |
|
34 <mtext>c</mtext> |
|
35 </mtd> |
|
36 </mtr> |
|
37 <mtr> |
|
38 <mtd> |
|
39 <mtext>d</mtext> |
|
40 </mtd> |
|
41 |
|
42 <mtd> |
|
43 <mtext>e</mtext> |
|
44 </mtd> |
|
45 <mtd> |
|
46 <mtext>f</mtext> |
|
47 </mtd> |
|
48 </mtr> |
|
49 <mtr> |
|
50 <mtd> |
|
51 <mtext>g</mtext> |
|
52 </mtd> |
|
53 <mtd> |
|
54 <mtext>h</mtext> |
|
55 </mtd> |
|
56 <mtd> |
|
57 <mtext>i</mtext> |
|
58 </mtd> |
|
59 </mtr> |
|
60 </mtable> |
|
61 </mstyle> |
|
62 </math> <br /> |
|
63 <b>columnlines="dashed"</b> <br /> |
|
64 <math> |
|
65 <mstyle> |
|
66 <mtable id="table2"> |
|
67 <mtr> |
|
68 <mtd> |
|
69 <mtext>a</mtext> |
|
70 </mtd> |
|
71 <mtd> |
|
72 <mtext>b</mtext> |
|
73 </mtd> |
|
74 <mtd> |
|
75 <mtext>c</mtext> |
|
76 </mtd> |
|
77 </mtr> |
|
78 <mtr> |
|
79 <mtd> |
|
80 <mtext>d</mtext> |
|
81 </mtd> |
|
82 |
|
83 <mtd> |
|
84 <mtext>e</mtext> |
|
85 </mtd> |
|
86 <mtd> |
|
87 <mtext>f</mtext> |
|
88 </mtd> |
|
89 </mtr> |
|
90 <mtr> |
|
91 <mtd> |
|
92 <mtext>g</mtext> |
|
93 </mtd> |
|
94 <mtd> |
|
95 <mtext>h</mtext> |
|
96 </mtd> |
|
97 <mtd> |
|
98 <mtext>i</mtext> |
|
99 </mtd> |
|
100 </mtr> |
|
101 </mtable> |
|
102 </mstyle> |
|
103 </math> <br /> |
|
104 </body> |
|
105 </html> |