summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/379361-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/379361-3.html')
-rw-r--r--layout/reftests/bugs/379361-3.html123
1 files changed, 123 insertions, 0 deletions
diff --git a/layout/reftests/bugs/379361-3.html b/layout/reftests/bugs/379361-3.html
new file mode 100644
index 0000000000..4fe566dc2e
--- /dev/null
+++ b/layout/reftests/bugs/379361-3.html
@@ -0,0 +1,123 @@
+<html>
+<body>
+
+<li>Tables have width 500px.
+<li>Yellow cells have width 200px.
+<li>Green cells are auto-width.
+<li>Blue cells have colspan = 2 and, in test case, have various specified widths.
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 10px; background: lightblue" colspan="2">10 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 50px; background: lightblue" colspan="2">50 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 100px; background: lightblue" colspan="2">100 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 384px; background: lightblue" colspan="2">384 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 385px; background: lightblue" colspan="2">385 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 390px; background: lightblue" colspan="2">390 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 500px; background: lightblue" colspan="2">500 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 600px; background: lightblue" colspan="2">600 px</td>
+ </tr>
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 900px; background: lightblue" colspan="2">900 px</td>
+ </tr>
+</table>
+<br/>
+
+</table>
+<br/>
+
+<table width="500px" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="width: 200px; background: yellow"></td>
+ <td style="background: lightgreen">Here are some words.</td>
+ </tr>
+ <tr>
+ <td style="width: 1500px; background: lightblue" colspan="2">1500 px</td>
+ </tr>
+</table>
+<br/>
+
+</body>
+</html>