summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/table-width-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/mathml/table-width-1.xhtml76
1 files changed, 76 insertions, 0 deletions
diff --git a/layout/reftests/mathml/table-width-1.xhtml b/layout/reftests/mathml/table-width-1.xhtml
new file mode 100644
index 0000000000..0837c49fcb
--- /dev/null
+++ b/layout/reftests/mathml/table-width-1.xhtml
@@ -0,0 +1,76 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Check that the content box is large enough</title>
+ <style type="text/css">
+ html { background-color: grey; }
+ td { border: 1px solid white;
+ padding-top: 0;
+ padding-bottom: 0;
+ padding-right: 1px;
+ padding-left: 1px;
+ background-color: black;
+ color: black; }
+ </style>
+ </head>
+<body>
+ <table>
+ <td>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mrow>
+ <mn>60</mn>
+ <mo>&#x2062;</mo>
+ <msqrt>
+ <mn>2</mn>
+ <mo>+</mo>
+ <mn>3</mn>
+ <mo>-</mo>
+ <mo>5</mo>
+ </msqrt>
+ </mrow>
+ </math>
+ </td>
+ </table>
+ <table>
+ <td>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mroot>
+ <mfrac>
+ <mn>8</mn>
+ <mn>90</mn>
+ </mfrac>
+ <mn>61</mn>
+ </mroot>
+ </math>
+ </td>
+ </table>
+ <table>
+ <td>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mfenced>
+ <mtable>
+ <mtr><mtd><mn>0</mn></mtd></mtr>
+ <mtr><mtd><mn>80</mn></mtd></mtr>
+ </mtable>
+ </mfenced>
+ </math>
+ </td>
+ </table>
+ <table>
+ <td>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mrow>
+ <mo>|</mo>
+ <mo>{</mo>
+ <mtable>
+ <mtr><mtd><mn>0</mn></mtd></mtr>
+ <mtr><mtd><mn>5</mn></mtd></mtr>
+ <mtr><mtd><mn>9</mn></mtd></mtr>
+ </mtable>
+ <mo>}</mo>
+ <mo>|</mo>
+ </mrow>
+ </math>
+ </td>
+ </table>
+</body>
+</html>