| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 Test passes if it does not crash. | 2 Test passes if it does not crash. |
| 3 <script> | 3 <script> |
| 4 if (window.layoutTestController) { | 4 if (window.layoutTestController) { |
| 5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
| 6 layoutTestController.waitUntilDone(); | 6 layoutTestController.waitUntilDone(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 function runTest() | 9 function runTest() |
| 10 { | 10 { |
| 11 child = document.getElementById('test'); | 11 child = document.getElementById('test'); |
| 12 child.parentNode.removeChild(child); | 12 child.parentNode.removeChild(child); |
| 13 | 13 |
| 14 document.body.offsetTop; | 14 document.body.offsetTop; |
| 15 | 15 |
| 16 if (window.layoutTestController) | 16 if (window.layoutTestController) |
| 17 layoutTestController.notifyDone(); | 17 layoutTestController.notifyDone(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 setTimeout("runTest();", 0); | 20 setTimeout("runTest();", 0); |
| 21 </script> | 21 </script> |
| 22 <style id='test'> | 22 <style id='test'> |
| 23 p { float: left; } | 23 p { float: left; } |
| 24 </style> | 24 </style> |
| 25 <table><span><p></p><p></p></span></table> | 25 <table><span><p></p><p></p></span></table> |
| 26 </html> | 26 </html> |
| OLD | NEW |