summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/413286-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/413286-2-ref.html')
-rw-r--r--layout/reftests/bugs/413286-2-ref.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/layout/reftests/bugs/413286-2-ref.html b/layout/reftests/bugs/413286-2-ref.html
new file mode 100644
index 0000000000..fda91a9e6c
--- /dev/null
+++ b/layout/reftests/bugs/413286-2-ref.html
@@ -0,0 +1,66 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Reference Case</title>
+ <style>
+ table { width: 500px; }
+ td { height: 2em; }
+ td.aqua { background: aqua }
+ td.lime { background: lime }
+ td.blue { background: blue }
+ td.pink { background: pink }
+ td.yellow { background: yellow }
+ </style>
+</head>
+<body>
+ <h2>No third column</h2>
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="aqua"></td>
+ <td class="aqua"></td>
+ </tr><tr>
+ <td class="lime" style="width: 50px"></td>
+ <td class="blue" style="width: 450px"></td>
+ </tr>
+ </table>
+
+ <h2>Third column with low percent width</h2>
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="aqua"></td>
+ <td class="aqua"></td>
+ <td class="yellow"></td>
+ </tr><tr>
+ <td class="lime" style="width: 50px"></td>
+ <td class="blue" style="width: 400px"></td>
+ <td class="pink" style="width: 50px"></td>
+ </tr>
+ </table>
+
+ <h2>Third column with medium percent width</h2>
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="aqua"></td>
+ <td class="aqua"></td>
+ <td class="yellow"></td>
+ </tr><tr>
+ <td class="lime" style="width: 50px"></td>
+ <td class="blue" style="width: 250px"></td>
+ <td class="pink" style="width: 200px"></td>
+ </tr>
+ </table>
+
+ <h2>Third column with preferred width</h2>
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="aqua"></td>
+ <td class="aqua"></td>
+ <td class="yellow"></td>
+ </tr><tr>
+ <td class="lime" style="width: 50px"></td>
+ <td class="blue" style="width: 400px"></td>
+ <td class="pink" style="width: 50px"></td>
+ </tr>
+ </table>
+</body>
+</html>