summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/404666-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/404666-2.html')
-rw-r--r--layout/reftests/bugs/404666-2.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/bugs/404666-2.html b/layout/reftests/bugs/404666-2.html
new file mode 100644
index 0000000000..1a9c457a8a
--- /dev/null
+++ b/layout/reftests/bugs/404666-2.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+table {background-color:green}
+col {background-color:red}
+td { color: white }
+</style>
+<script>
+function runTest()
+{
+ document.body.offsetHeight;
+ document.getElementById("col").style.visibility = "collapse";
+}
+</script>
+</head>
+<body onload="runTest()">
+<table>
+ <col id="col" span="2">
+ <tr>
+ <td>One</td>
+ <td>Two</td>
+ <td>Three</td>
+ </tr>
+</table>
+</html>