summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mpadded-9.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/mpadded-9.html')
-rw-r--r--layout/reftests/mathml/mpadded-9.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mpadded-9.html b/layout/reftests/mathml/mpadded-9.html
new file mode 100644
index 0000000000..8e8b92b0d6
--- /dev/null
+++ b/layout/reftests/mathml/mpadded-9.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test mpadded</title>
+ </head>
+ <body>
+ <math>
+ <!--with fixed width, height + depth should not depend on the characters-->
+ <mpadded mathbackground="red" width="100width">
+ <mphantom>
+ <mtext style="font-family: monospace">|</mtext>
+ </mphantom>
+ </mpadded>
+ </math>
+ <br>
+ <math>
+ <mpadded mathbackground="red" width="100width">
+ <mphantom>
+ <mtext mathvariant="monospace">i</mtext>
+ </mphantom>
+ </mpadded>
+ </math>
+ </body>
+</html>