summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mtable-width.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/mtable-width.html')
-rw-r--r--layout/reftests/mathml/mtable-width.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/layout/reftests/mathml/mtable-width.html b/layout/reftests/mathml/mtable-width.html
new file mode 100644
index 000000000..2a4656883
--- /dev/null
+++ b/layout/reftests/mathml/mtable-width.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Check that mtable supports the width attribute</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ </head>
+
+ <body>
+
+<div>
+ <math>
+ <mtext>|</mtext>
+ <mtable width="8em">
+ <mtr>
+ <mtd></mtd>
+ </mtr>
+ </mtable>
+ <mtext>|</mtext>
+ </math>
+</div>
+<div>
+ <math>
+ <mtext>|</mtext>
+ <mtable width="30px">
+ <mtr>
+ <mtd></mtd>
+ </mtr>
+ </mtable>
+ <mtext>|</mtext>
+ </math>
+</div>
+<div>
+ <math>
+ <mtext>|</mtext>
+ <mtable width="auto">
+ <mtr>
+ <mtd></mtd>
+ </mtr>
+ </mtable>
+ <mtext>|</mtext>
+ </math>
+</div>
+
+ </body>
+</html>
+