summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/maction-dynamic-embellished-op.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/mathml/maction-dynamic-embellished-op.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/mathml/maction-dynamic-embellished-op.html')
-rw-r--r--layout/reftests/mathml/maction-dynamic-embellished-op.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/layout/reftests/mathml/maction-dynamic-embellished-op.html b/layout/reftests/mathml/maction-dynamic-embellished-op.html
new file mode 100644
index 000000000..4ebf29ed1
--- /dev/null
+++ b/layout/reftests/mathml/maction-dynamic-embellished-op.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+
+<head>
+<title>dynamic maction and embellished op</title>
+</head>
+
+<body>
+
+ <p>'<math><maction id="m1"><mi>a</mi><mo>b</mo></maction></math>'</p>
+ <p>'<math><maction id="m2"><mo>b</mo><mi>a</mi></maction></math>'</p>
+
+ <p>"<math><maction id="m3"><mi>a</mi><mo>b</mo></maction></math>"</p>
+ <p>"<math><maction id="m3bis"><mo>b</mo></maction></math>"</p>
+
+ <p>{<math><maction id="m4"><mo>b</mo><mi>a</mi></maction></math>}</p>
+ <p>{<math><maction id="m4bis"><mi>a</mi></maction></math>}</p>
+
+
+ <p>[<math>
+ <mstyle id="m5"><maction><mi>a</mi><mo>b</mo></maction></mstyle>
+ </math>]</p>
+ <p>[<math>
+ <mstyle id="m6"><maction><mo>b</mo><mi>a</mi></maction></mstyle>
+ </math>]</p>
+
+ <p>(<math id="m7"><maction><mi>a</mi><mo>b</mo></maction></math>)</p>
+ <p>(<math id="m8"><maction><mo>b</mo><mi>a</mi></maction></math>)</p>
+
+<script>
+function doTest()
+{
+ document.getElementById("m1").setAttribute("selection", "2");
+ document.getElementById("m2").setAttribute("selection", "2");
+
+ var m3 = document.getElementById("m3");
+ var m3bis = document.getElementById("m3bis");
+ m3bis.insertBefore(m3.removeChild(m3.firstChild), m3bis.firstChild);
+
+ var m4 = document.getElementById("m4");
+ var m4bis = document.getElementById("m4bis");
+ m4bis.insertBefore(m4.removeChild(m4.firstChild), m4bis.firstChild);
+
+ document.getElementById("m5").setAttribute("selection", "2");
+ document.getElementById("m6").setAttribute("selection", "2");
+
+ document.getElementById("m7").setAttribute("selection", "2");
+ document.getElementById("m8").setAttribute("selection", "2");
+
+ document.documentElement.removeAttribute("class");
+}
+
+window.addEventListener("MozReftestInvalidate", doTest, false);
+</script>
+
+</body>
+</html>