Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Test MathML rowalign</title> |
michael@0 | 5 | <script type="text/javascript"> |
michael@0 | 6 | function doTest() |
michael@0 | 7 | { |
michael@0 | 8 | var table1 = document.getElementById("table1"); |
michael@0 | 9 | var table2 = document.getElementById("table2"); |
michael@0 | 10 | var table3 = document.getElementById("table3"); |
michael@0 | 11 | |
michael@0 | 12 | // Table 1 setup |
michael@0 | 13 | table1.setAttribute("rowalign", "top center bottom"); |
michael@0 | 14 | // Table 2 setup |
michael@0 | 15 | table2.setAttribute("rowalign", "bottom top center"); |
michael@0 | 16 | // Table 3 setup |
michael@0 | 17 | table3.setAttribute("rowalign", "center bottom top"); |
michael@0 | 18 | |
michael@0 | 19 | document.documentElement.removeAttribute("class"); |
michael@0 | 20 | } |
michael@0 | 21 | window.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 22 | </script> |
michael@0 | 23 | </head> |
michael@0 | 24 | <body> |
michael@0 | 25 | <b>rowalign="top center bottom"</b> <br/> |
michael@0 | 26 | <math> |
michael@0 | 27 | <mstyle> |
michael@0 | 28 | <mtable id="table1"> |
michael@0 | 29 | <mtr> |
michael@0 | 30 | <mtd> |
michael@0 | 31 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 32 | </mtd> |
michael@0 | 33 | <mtd> |
michael@0 | 34 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 35 | </mtd> |
michael@0 | 36 | <mtd> |
michael@0 | 37 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 38 | </mtd> |
michael@0 | 39 | </mtr> |
michael@0 | 40 | <mtr> |
michael@0 | 41 | <mtd> |
michael@0 | 42 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 43 | </mtd> |
michael@0 | 44 | <mtd> |
michael@0 | 45 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 46 | </mtd> |
michael@0 | 47 | <mtd> |
michael@0 | 48 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 49 | </mtd> |
michael@0 | 50 | </mtr> |
michael@0 | 51 | <mtr> |
michael@0 | 52 | <mtd> |
michael@0 | 53 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 54 | </mtd> |
michael@0 | 55 | <mtd> |
michael@0 | 56 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 57 | </mtd> |
michael@0 | 58 | <mtd> |
michael@0 | 59 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 60 | </mtd> |
michael@0 | 61 | </mtr> |
michael@0 | 62 | </mtable> |
michael@0 | 63 | </mstyle> |
michael@0 | 64 | </math> <br /> |
michael@0 | 65 | <b>rowalign="bottom top center"</b> <br /> |
michael@0 | 66 | <math> |
michael@0 | 67 | <mstyle> |
michael@0 | 68 | <mtable id="table2"> |
michael@0 | 69 | <mtr> |
michael@0 | 70 | <mtd> |
michael@0 | 71 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 72 | </mtd> |
michael@0 | 73 | <mtd> |
michael@0 | 74 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 75 | </mtd> |
michael@0 | 76 | <mtd> |
michael@0 | 77 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 78 | </mtd> |
michael@0 | 79 | </mtr> |
michael@0 | 80 | <mtr> |
michael@0 | 81 | <mtd> |
michael@0 | 82 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 83 | </mtd> |
michael@0 | 84 | <mtd> |
michael@0 | 85 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 86 | </mtd> |
michael@0 | 87 | <mtd> |
michael@0 | 88 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 89 | </mtd> |
michael@0 | 90 | </mtr> |
michael@0 | 91 | <mtr> |
michael@0 | 92 | <mtd> |
michael@0 | 93 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 94 | </mtd> |
michael@0 | 95 | <mtd> |
michael@0 | 96 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 97 | </mtd> |
michael@0 | 98 | <mtd> |
michael@0 | 99 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 100 | </mtd> |
michael@0 | 101 | </mtr> |
michael@0 | 102 | </mtable> |
michael@0 | 103 | </mstyle> |
michael@0 | 104 | </math> <br /> |
michael@0 | 105 | <b>rowalign="center bottom top"</b> <br /> |
michael@0 | 106 | <math> |
michael@0 | 107 | <mstyle> |
michael@0 | 108 | <mtable id="table3"> |
michael@0 | 109 | <mtr> |
michael@0 | 110 | <mtd> |
michael@0 | 111 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 112 | </mtd> |
michael@0 | 113 | <mtd> |
michael@0 | 114 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 115 | </mtd> |
michael@0 | 116 | <mtd> |
michael@0 | 117 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 118 | </mtd> |
michael@0 | 119 | </mtr> |
michael@0 | 120 | <mtr> |
michael@0 | 121 | <mtd> |
michael@0 | 122 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 123 | </mtd> |
michael@0 | 124 | <mtd> |
michael@0 | 125 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 126 | </mtd> |
michael@0 | 127 | <mtd> |
michael@0 | 128 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 129 | </mtd> |
michael@0 | 130 | </mtr> |
michael@0 | 131 | <mtr> |
michael@0 | 132 | <mtd> |
michael@0 | 133 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 134 | </mtd> |
michael@0 | 135 | <mtd> |
michael@0 | 136 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 137 | </mtd> |
michael@0 | 138 | <mtd> |
michael@0 | 139 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 140 | </mtd> |
michael@0 | 141 | </mtr> |
michael@0 | 142 | </mtable> |
michael@0 | 143 | </mstyle> |
michael@0 | 144 | </math> |
michael@0 | 145 | </body> |
michael@0 | 146 | </html> |