summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/645768-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/645768-1.html')
-rw-r--r--layout/reftests/bugs/645768-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/bugs/645768-1.html b/layout/reftests/bugs/645768-1.html
new file mode 100644
index 0000000000..b649a8f56f
--- /dev/null
+++ b/layout/reftests/bugs/645768-1.html
@@ -0,0 +1,12 @@
+<!-- This test needs to be in quirks mode -->
+<body style="display: none; color: green">
+ <div style="color: red">
+ <table>
+ <tr><td>This should be green</td></tr>
+ </table>
+ </div>
+ <script>
+ document.body.offsetWidth;
+ document.body.style.display = "";
+ </script>
+</body>