summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html')
-rw-r--r--testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html b/testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html
new file mode 100644
index 0000000000..671c889211
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test munderover with empty scripts</title>
+ <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=669932">
+ <link rel="match" href="munderover-empty-scripts-ref.html">
+ <meta name="assert" content="Verify elements with empty under/over scripts render the same as equivalent elements with less scripts.">
+ </head>
+ <body>
+
+ <p>munder / munderover with empty overscript:
+ <math>
+ <munder style="background: red;">
+ <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
+ <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
+ </munder>
+ </math>
+ </p>
+
+ <p>mover / munderover with empty underscript:
+ <math>
+ <mover style="background: red;">
+ <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
+ <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
+ </mover>
+ </math>
+ </p>
+
+ <p>mrow / munder with empty scripts:
+ <math>
+ <mrow style="background: red;">
+ <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
+ </mrow>
+ </math>
+ </p>
+
+ </body>
+</html>