diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/mathml/mtable-columnalign-single-mtable-dynamic.html | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/mathml/mtable-columnalign-single-mtable-dynamic.html | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mtable-columnalign-single-mtable-dynamic.html b/layout/reftests/mathml/mtable-columnalign-single-mtable-dynamic.html new file mode 100644 index 0000000000..13a81f0e29 --- /dev/null +++ b/layout/reftests/mathml/mtable-columnalign-single-mtable-dynamic.html @@ -0,0 +1,146 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <title>Test MathML columnalign</title> + <script type="text/javascript"> + function doTest() + { + var table1 = document.getElementById("table1"); + var table2 = document.getElementById("table2"); + var table3 = document.getElementById("table3"); + + // Table 1 setup + table1.setAttribute("columnalign", "left"); + // Table 2 setup + table2.setAttribute("columnalign", "center"); + // Table 3 setup + table3.setAttribute("columnalign", "right"); + + document.documentElement.removeAttribute("class"); + } + window.addEventListener("MozReftestInvalidate", doTest); + </script> + </head> + <body> + <b>columnalign="left"</b> <br /> + <math> + <mstyle> + <mtable id="table1"> + <mtr> + <mtd> + <mtext>123</mtext> + </mtd> + <mtd> + <mtext>123</mtext> + </mtd> + <mtd> + <mtext>123</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>12345</mtext> + </mtd> + <mtd> + <mtext>12345</mtext> + </mtd> + <mtd> + <mtext>12345</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>1234567</mtext> + </mtd> + <mtd> + <mtext>1234567</mtext> + </mtd> + <mtd> + <mtext>1234567</mtext> + </mtd> + </mtr> + </mtable> + </mstyle> + </math> <br /> + <b>columnalign="center"</b> <br /> + <math> + <mstyle> + <mtable id="table2"> + <mtr> + <mtd> + <mtext>123</mtext> + </mtd> + <mtd> + <mtext>123</mtext> + </mtd> + <mtd> + <mtext>123</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>12345</mtext> + </mtd> + <mtd> + <mtext>12345</mtext> + </mtd> + <mtd> + <mtext>12345</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>1234567</mtext> + </mtd> + <mtd> + <mtext>1234567</mtext> + </mtd> + <mtd> + <mtext>1234567</mtext> + </mtd> + </mtr> + </mtable> + </mstyle> + </math> <br /> + <b>columnalign="right"</b> <br /> + <math> + <mstyle> + <mtable id="table3"> + <mtr> + <mtd> + <mtext>123</mtext> + </mtd> + <mtd> + <mtext>123</mtext> + </mtd> + <mtd> + <mtext>123</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>12345</mtext> + </mtd> + <mtd> + <mtext>12345</mtext> + </mtd> + <mtd> + <mtext>12345</mtext> + </mtd> + </mtr> + <mtr> + <mtd> + <mtext>1234567</mtext> + </mtd> + <mtd> + <mtext>1234567</mtext> + </mtd> + <mtd> + <mtext>1234567</mtext> + </mtd> + </mtr> + </mtable> + </mstyle> + </math> + </body> +</html> |