1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/645768-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +<!-- This test needs to be in quirks mode --> 1.5 +<body style="display: none; color: green"> 1.6 + <div style="color: red"> 1.7 + <table> 1.8 + <tr><td>This should be green</td></tr> 1.9 + </table> 1.10 + </div> 1.11 + <script> 1.12 + document.body.offsetWidth; 1.13 + document.body.style.display = ""; 1.14 + </script> 1.15 +</body>