summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/table-width-3.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/mathml/table-width-3.html90
1 files changed, 90 insertions, 0 deletions
diff --git a/layout/reftests/mathml/table-width-3.html b/layout/reftests/mathml/table-width-3.html
new file mode 100644
index 0000000000..abf9d9ebfe
--- /dev/null
+++ b/layout/reftests/mathml/table-width-3.html
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>table-width-3</title>
+ <meta charset="utf-8"/>
+ <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; }
+ mi, mtext { font-size: 3em; }
+ span { font-style: italic; display: inline-block; }
+ </style>
+ </head>
+ <body>
+
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mi>f</mi>
+ </math>
+ </td>
+ </tr>
+ </table>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mi> f </mi>
+ </math>
+ </td>
+ </tr>
+ </table>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mi>f</mi>
+ <mi>f</mi>
+ <mi>f</mi>
+ </math>
+ </td>
+ </tr>
+ </table>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mi style="font-style: italic;">fff</mi>
+ </math>
+ </td>
+ </tr>
+ </table>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mtext><span>fff</span></mtext>
+ </math>
+ </td>
+ </tr>
+ </table>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mtext><span>f</span></mtext>
+ <mtext><span>f</span></mtext>
+ <mtext><span>f</span></mtext>
+ </math>
+ </td>
+ </tr>
+ </table>
+ <table>
+ <tr>
+ <td>
+ <math>
+ <mtext><span>f</span><span>f</span><span>f</span></mtext>
+ </math>
+ </td>
+ </tr>
+ </table>
+
+ </body>
+</html>