Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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 | var rows = undefined; |
michael@0 | 12 | |
michael@0 | 13 | // Table 1 setup |
michael@0 | 14 | rows = table1.getElementsByTagName("mtr"); |
michael@0 | 15 | for(var i = 0; i < rows.length; i++) |
michael@0 | 16 | rows[i].setAttribute("rowalign", "top"); |
michael@0 | 17 | |
michael@0 | 18 | // Table 2 setup |
michael@0 | 19 | rows = table2.getElementsByTagName("mtr"); |
michael@0 | 20 | for(var i = 0; i < rows.length; i++) |
michael@0 | 21 | rows[i].setAttribute("rowalign", "center"); |
michael@0 | 22 | |
michael@0 | 23 | // Table 3 setup |
michael@0 | 24 | rows = table3.getElementsByTagName("mtr"); |
michael@0 | 25 | for(var i = 0; i < rows.length; i++) |
michael@0 | 26 | rows[i].setAttribute("rowalign", "bottom"); |
michael@0 | 27 | |
michael@0 | 28 | document.documentElement.removeAttribute("class"); |
michael@0 | 29 | } |
michael@0 | 30 | window.addEventListener("MozReftestInvalidate", doTest, false); |
michael@0 | 31 | </script> |
michael@0 | 32 | </head> |
michael@0 | 33 | <body> |
michael@0 | 34 | <b>rowalign="top"</b> <br/> |
michael@0 | 35 | <math> |
michael@0 | 36 | <mstyle> |
michael@0 | 37 | <mtable id="table1"> |
michael@0 | 38 | <mtr> |
michael@0 | 39 | <mtd> |
michael@0 | 40 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 41 | </mtd> |
michael@0 | 42 | <mtd> |
michael@0 | 43 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 44 | </mtd> |
michael@0 | 45 | <mtd> |
michael@0 | 46 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 47 | </mtd> |
michael@0 | 48 | </mtr> |
michael@0 | 49 | <mtr> |
michael@0 | 50 | <mtd> |
michael@0 | 51 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 52 | </mtd> |
michael@0 | 53 | <mtd> |
michael@0 | 54 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 55 | </mtd> |
michael@0 | 56 | <mtd> |
michael@0 | 57 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 58 | </mtd> |
michael@0 | 59 | </mtr> |
michael@0 | 60 | <mtr> |
michael@0 | 61 | <mtd> |
michael@0 | 62 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 63 | </mtd> |
michael@0 | 64 | <mtd> |
michael@0 | 65 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 66 | </mtd> |
michael@0 | 67 | <mtd> |
michael@0 | 68 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 69 | </mtd> |
michael@0 | 70 | </mtr> |
michael@0 | 71 | </mtable> |
michael@0 | 72 | </mstyle> |
michael@0 | 73 | </math> <br /> |
michael@0 | 74 | <b>rowalign="center"</b> <br /> |
michael@0 | 75 | <math> |
michael@0 | 76 | <mstyle> |
michael@0 | 77 | <mtable id="table2"> |
michael@0 | 78 | <mtr> |
michael@0 | 79 | <mtd> |
michael@0 | 80 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 81 | </mtd> |
michael@0 | 82 | <mtd> |
michael@0 | 83 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 84 | </mtd> |
michael@0 | 85 | <mtd> |
michael@0 | 86 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 87 | </mtd> |
michael@0 | 88 | </mtr> |
michael@0 | 89 | <mtr> |
michael@0 | 90 | <mtd> |
michael@0 | 91 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 92 | </mtd> |
michael@0 | 93 | <mtd> |
michael@0 | 94 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 95 | </mtd> |
michael@0 | 96 | <mtd> |
michael@0 | 97 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 98 | </mtd> |
michael@0 | 99 | </mtr> |
michael@0 | 100 | <mtr> |
michael@0 | 101 | <mtd> |
michael@0 | 102 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 103 | </mtd> |
michael@0 | 104 | <mtd> |
michael@0 | 105 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 106 | </mtd> |
michael@0 | 107 | <mtd> |
michael@0 | 108 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 109 | </mtd> |
michael@0 | 110 | </mtr> |
michael@0 | 111 | </mtable> |
michael@0 | 112 | </mstyle> |
michael@0 | 113 | </math> <br /> |
michael@0 | 114 | <b>rowalign="bottom"</b> <br /> |
michael@0 | 115 | <math> |
michael@0 | 116 | <mstyle> |
michael@0 | 117 | <mtable id="table3"> |
michael@0 | 118 | <mtr> |
michael@0 | 119 | <mtd> |
michael@0 | 120 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 121 | </mtd> |
michael@0 | 122 | <mtd> |
michael@0 | 123 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 124 | </mtd> |
michael@0 | 125 | <mtd> |
michael@0 | 126 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 127 | </mtd> |
michael@0 | 128 | </mtr> |
michael@0 | 129 | <mtr> |
michael@0 | 130 | <mtd> |
michael@0 | 131 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 132 | </mtd> |
michael@0 | 133 | <mtd> |
michael@0 | 134 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 135 | </mtd> |
michael@0 | 136 | <mtd> |
michael@0 | 137 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 138 | </mtd> |
michael@0 | 139 | </mtr> |
michael@0 | 140 | <mtr> |
michael@0 | 141 | <mtd> |
michael@0 | 142 | <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace> |
michael@0 | 143 | </mtd> |
michael@0 | 144 | <mtd> |
michael@0 | 145 | <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace> |
michael@0 | 146 | </mtd> |
michael@0 | 147 | <mtd> |
michael@0 | 148 | <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace> |
michael@0 | 149 | </mtd> |
michael@0 | 150 | </mtr> |
michael@0 | 151 | </mtable> |
michael@0 | 152 | </mstyle> |
michael@0 | 153 | </math> |
michael@0 | 154 | </body> |
michael@0 | 155 | </html> |