summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/maction-dynamic-3.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/reftests/mathml/maction-dynamic-3.html
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/maction-dynamic-3.html')
-rw-r--r--layout/reftests/mathml/maction-dynamic-3.html138
1 files changed, 138 insertions, 0 deletions
diff --git a/layout/reftests/mathml/maction-dynamic-3.html b/layout/reftests/mathml/maction-dynamic-3.html
new file mode 100644
index 0000000000..06ce27d231
--- /dev/null
+++ b/layout/reftests/mathml/maction-dynamic-3.html
@@ -0,0 +1,138 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
+<head>
+<title>dynamic maction 3</title>
+</head>
+
+<body>
+
+<p>
+<math>
+ <maction id="m1" actiontype="toggle">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m2" actiontype="toggle" selection="5">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m3" actiontype="toggle" selection="5">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m4" actiontype="toggle">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m5" actiontype="toggle" selection="5">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m6" actiontype="toggle">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m7">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m8" actiontype="unknown-action-type">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m9" selection="5">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m10" actiontype="unknown-action-type" selection="5">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m11" actiontype="statusline">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<p>
+<math>
+ <maction id="m12" actiontype="statusline" selection="5">
+ <mtext>--1--</mtext>
+ <mtext>--2--</mtext>
+ </maction>
+</math>
+</p>
+
+<script>
+ function doTest() {
+ document.getElementById("m1").setAttribute("selection", "5");
+ document.getElementById("m2").setAttribute("selection", "1");
+ document.getElementById("m3").setAttribute("actiontype", "statusline");
+ document.getElementById("m4").removeAttribute("actiontype");
+ document.getElementById("m5").setAttribute("actiontype", "unknown-action-type");
+ document.getElementById("m6").setAttribute("actiontype", "unknown-action-type");
+ document.getElementById("m7").setAttribute("actiontype", "toggle");
+ document.getElementById("m8").setAttribute("actiontype", "toggle");
+ document.getElementById("m9").setAttribute("actiontype", "statusline");
+ document.getElementById("m10").setAttribute("actiontype", "statusline");
+ document.getElementById("m11").setAttribute("selection", "5");
+ document.getElementById("m12").setAttribute("actiontype", "toggle");
+
+ document.documentElement.removeAttribute('class');
+ }
+ window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+
+</body>
+</html>