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