summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html')
-rw-r--r--testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html b/testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html
new file mode 100644
index 0000000000..b2de08e811
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/mathml/negative-lengths/mpadded-negative-attributes-002.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test mpadded</title>
+ <meta name="assert" content="Verify negative mpadded@width/height/depth.">
+ <link rel="match" href="mpadded-negative-attributes-002-ref.html">
+ </head>
+ <body>
+ <math>
+ <!--if height, depth or width is a negative value, 0px is the value applied -->
+ <mpadded mathbackground="blue" width="100px" height="100px" depth="-100px"
+ lspace="20px" voffset="10px">
+ <mpadded mathbackground="red" width="20px" height="10px"
+ depth="10px">
+ </mpadded>
+ </mpadded>
+ </math>
+ </body>
+</html>