summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/413286-5.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/413286-5.html')
-rw-r--r--layout/reftests/bugs/413286-5.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/layout/reftests/bugs/413286-5.html b/layout/reftests/bugs/413286-5.html
new file mode 100644
index 0000000000..df72e6ede0
--- /dev/null
+++ b/layout/reftests/bugs/413286-5.html
@@ -0,0 +1,68 @@
+<html>
+<head><style>
+ table { width: 600px }
+ td.smallSpec { width: 100px; }
+ td.smallPct { width: 10%; }
+ td.pink { background: pink }
+ td.teal { background: teal }
+</style></head>
+<body>
+
+<h2>Other column fixed-width</h2>
+
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="smallSpec pink">100</td>
+ <td class="teal"/>
+ </tr>
+</table>
+
+<h2>Other column percent-width</h2>
+
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="smallPct pink">10%</td>
+ <td class="teal"/>
+ </tr>
+</table>
+
+<h2>Other column fixed-width; zero column spanned by colspan (crossing other column)</h2>
+
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="smallSpec pink">100</td>
+ <td class="teal"/>
+ </tr>
+ <tr><td colspan="2"/></tr>
+</table>
+
+<h2>Other column percent-width; zero column spanned by colspan (crossing other column)</h2>
+
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="smallPct pink">10%</td>
+ <td class="teal"/>
+ </tr>
+ <tr><td colspan="2"/></tr>
+</table>
+
+<h2>Other column fixed-width; two zero columns with colspan</h2>
+
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="smallSpec pink">100</td>
+ <td class="teal" colspan="2"/>
+ </tr>
+</table>
+
+<h2>Other column percent-width; two zero columns with colspan</h2>
+
+<table cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="smallPct pink">10%</td>
+ <td class="teal" colspan="2"/>
+ </tr>
+</table>
+
+</body>
+</html>