diff options
Diffstat (limited to 'layout/reftests/mathml/mo-accent-dynamic.html')
-rw-r--r-- | layout/reftests/mathml/mo-accent-dynamic.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mo-accent-dynamic.html b/layout/reftests/mathml/mo-accent-dynamic.html new file mode 100644 index 000000000..f66548500 --- /dev/null +++ b/layout/reftests/mathml/mo-accent-dynamic.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html class="reftest-wait">
+ <head>
+ <title>mo@accent</title>
+ <meta charset="utf-8"/>
+ <script type="text/javascript">
+ function doTest() {
+ document.getElementById('mathOperator').setAttribute('accent', 'true');
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("MozReftestInvalidate",doTest, false);
+ </script>
+ </head>
+ <body>
+ <math>
+ <munderover><mtext>X</mtext><mo id="mathOperator">O</mo><mo>O</mo></munderover>
+ </math>
+ </body>
+</html>
\ No newline at end of file |