summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html')
-rw-r--r--testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html b/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html
new file mode 100644
index 0000000000..4a5eca4c25
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/mo-accent/mo-accent-dynamic.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <head>
+ <title>mo@accent</title>
+ <meta charset="utf-8"/>
+ <link rel="match" href="mo-accent-dynamic-ref.html"/>
+ <script type="text/javascript">
+ function doTest() {
+ document.getElementById('mathOperator').setAttribute('accent', 'true');
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("TestRendered",doTest);
+ </script>
+ </head>
+ <body>
+ <math>
+ <munderover><mtext>X</mtext><mo id="mathOperator">O</mo><mo>O</mo></munderover>
+ </math>
+ </body>
+</html>