summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/tablespacing-5a.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/mathml/tablespacing-5a.html
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/tablespacing-5a.html')
-rw-r--r--layout/reftests/mathml/tablespacing-5a.html295
1 files changed, 295 insertions, 0 deletions
diff --git a/layout/reftests/mathml/tablespacing-5a.html b/layout/reftests/mathml/tablespacing-5a.html
new file mode 100644
index 0000000000..250557b79a
--- /dev/null
+++ b/layout/reftests/mathml/tablespacing-5a.html
@@ -0,0 +1,295 @@
+<!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" columnspacing="">
+ <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" rowspacing="">
+ <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" rowspacing="">
+ <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="mtable3" columspacing="">
+ <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="mtable4" rowspacing="">
+ <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="mtable5" frame="solid" rowspacing="">
+ <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="mtable6" frame="none" rowspacing="">
+ <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() {
+ // remove spacing attributes
+ document.getElementById("mtable0").removeAttribute("rowspacing");
+ document.getElementById("mtable1").removeAttribute("columnspacing");
+ document.getElementById("mtable2").removeAttribute("framespacing");
+
+ // add spacing attributes
+ document.getElementById("mtable3").setAttribute("rowspacing", "2ex 4ex");
+ document.getElementById("mtable4").setAttribute("columnspacing", "2em 3em");
+ document.getElementById("mtable5").setAttribute("framespacing", "2em 2ex");
+
+ // framespacing doesn't apply with frame="none"
+ document.getElementById("mtable6").setAttribute("framespacing", "2em 2ex");
+
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("MozReftestInvalidate", doTest);
+
+ </script>
+ </body>
+</html>