diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/mathml/mtable-columnlines-multi-mtable-dynamic.html | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mtable-columnlines-multi-mtable-dynamic.html b/layout/reftests/mathml/mtable-columnlines-multi-mtable-dynamic.html new file mode 100644 index 0000000000..4ced5186a7 --- /dev/null +++ b/layout/reftests/mathml/mtable-columnlines-multi-mtable-dynamic.html @@ -0,0 +1,105 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <title>Test MathML columnlines</title> + <script type="text/javascript"> + function doTest() + { + var table1 = document.getElementById("table1"); + var table2 = document.getElementById("table2"); + + // Table 1 setup + table1.setAttribute("columnlines", "solid dashed"); + // Table 2 setup + table2.setAttribute("columnlines", "dashed solid"); + + document.documentElement.removeAttribute("class"); + } + window.addEventListener("MozReftestInvalidate", doTest); + </script> + </head> + <body> + <b>columnlines="solid dashed"</b> <br /> + <math> + <mstyle> + <mtable id="table1"> + <mtr> + <mtd> + <mtext>a</mtext> + </mtd> + <mtd> + <mtext>b</mtext> + </mtd> + <mtd> + <mtext>c</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>d</mtext> + </mtd> + + <mtd> + <mtext>e</mtext> + </mtd> + <mtd> + <mtext>f</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>g</mtext> + </mtd> + <mtd> + <mtext>h</mtext> + </mtd> + <mtd> + <mtext>i</mtext> + </mtd> + </mtr> + </mtable> + </mstyle> + </math> <br /> + <b>columnlines="dashed solid"</b> <br /> + <math> + <mstyle> + <mtable id="table2"> + <mtr> + <mtd> + <mtext>a</mtext> + </mtd> + <mtd> + <mtext>b</mtext> + </mtd> + <mtd> + <mtext>c</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>d</mtext> + </mtd> + + <mtd> + <mtext>e</mtext> + </mtd> + <mtd> + <mtext>f</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>g</mtext> + </mtd> + <mtd> + <mtext>h</mtext> + </mtd> + <mtd> + <mtext>i</mtext> + </mtd> + </mtr> + </mtable> + </mstyle> + </math> <br /> + </body> +</html> |