diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/mathml/tablespacing-6.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/tablespacing-6.html')
-rw-r--r-- | layout/reftests/mathml/tablespacing-6.html | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/layout/reftests/mathml/tablespacing-6.html b/layout/reftests/mathml/tablespacing-6.html new file mode 100644 index 0000000000..c49dc4e29e --- /dev/null +++ b/layout/reftests/mathml/tablespacing-6.html @@ -0,0 +1,135 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <title>Dynamic tests involving changes to row/column/framespacing</title> + <meta charset="utf-8"/> + </head> + <body> + <math> + <mtable id="mtable0" rowspacing="2ex 3ex"> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + </mtable> + </math> + <p> + <math> + <mtable id="mtable1" columnspacing="2em 3em"> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + </mtable> + </math> + <p> + <math> + <mtable id="mtable2" framespacing="2em 2ex" frame="solid"> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + <mtr> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + <mtd> + <mn>X</mn> + </mtd> + </mtr> + </mtable> + </math> + <p> + <script> + function doTest() { + + // modify existing spacing attributes + document.getElementById("mtable0").setAttribute("rowspacing", "3ex 7ex"); + document.getElementById("mtable1").setAttribute("columnspacing", "3em 7em"); + document.getElementById("mtable2").setAttribute("framespacing", "3em 7ex"); + + document.documentElement.removeAttribute("class"); + } + window.addEventListener("MozReftestInvalidate", doTest); + </script> + </body> +</html> |