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