summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html')
-rw-r--r--testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html b/testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html
new file mode 100644
index 0000000000..403a98b409
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/negative-lengths/negative-mspace-1.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>negative mspace</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <link rel="match" href="negative-mspace-1-ref.html"/>
+ <link rel="assert" href="Verify that negative width on an mspace element causes overlap of previous and next siblings."/>
+ <link rel="help" href="https://github.com/w3c/mathml-core/issues/132"/>
+ </head>
+ <body>
+ <p>
+ <math>
+ <mrow>
+ <mspace width="2em" height="1em" mathbackground="red"></mspace>
+ <mspace width="-1em"/>
+ <mspace width="1em" height="1em" mathbackground="blue"></mspace>
+ </mrow>
+ </math>
+ </p>
+ <p>
+ <math dir="rtl">
+ <mrow>
+ <mspace width="2em" height="1em" mathbackground="red"></mspace>
+ <mspace width="-1em"/>
+ <mspace width="1em" height="1em" mathbackground="blue"></mspace>
+ </mrow>
+ </math>
+ </p>
+ </body>
+</html>