summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accent-dynamic-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accent-dynamic-001.html')
-rw-r--r--testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accent-dynamic-001.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accent-dynamic-001.html b/testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accent-dynamic-001.html
new file mode 100644
index 0000000000..6c3bc0d830
--- /dev/null
+++ b/testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accent-dynamic-001.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <head>
+ <title>munderover@accent</title>
+ <meta charset="utf-8"/>
+ <link rel="help" href="https://www.w3.org/TR/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
+ <meta name="assert" content="Verifies invalidation after accent attribute is dynamically set.">
+ <link rel="match" href="munderover-accent-dynamic-001-ref.html">
+ <script>
+ function doTest() {
+ document.getElementById('mathOperator').setAttribute('accent', 'true');
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("TestRendered",doTest);
+ </script>
+ </head>
+ <body>
+ <math>
+ <munderover id="mathOperator"><mtext>X</mtext><mo>O</mo><mo>O</mo></munderover>
+ </math>
+ </body>
+</html>