OLD | NEW |
1 <html> | 1 <html> |
2 Test passes if it does not crash. | 2 Test passes if it does not crash. |
3 <div id="test1" style="width: 12px; position: relative"> | 3 <div id="test1" style="width: 12px; position: relative"> |
4 <span> | 4 <span> |
5 <div id="test2"> | 5 <div id="test2"> |
6 <p style="float: left"></p> | 6 <p style="float: left"></p> |
7 </div> | 7 </div> |
8 </span> | 8 </span> |
9 <div id="test3"> | 9 <div id="test3"> |
10 <span> | 10 <span> |
11 <p>A A</p> | 11 <p>A A</p> |
12 </span> | 12 </span> |
13 </div> | 13 </div> |
14 </div> | 14 </div> |
15 <script> | 15 <script> |
16 if (window.layoutTestController) | 16 if (window.layoutTestController) |
17 layoutTestController.dumpAsText(); | 17 layoutTestController.dumpAsText(); |
18 | 18 |
19 document.body.offsetTop; | 19 document.body.offsetTop; |
20 test3.style.position = 'absolute'; | 20 test3.style.position = 'absolute'; |
21 test2.style.position = 'absolute'; | 21 test2.style.position = 'absolute'; |
22 document.body.offsetTop; | 22 document.body.offsetTop; |
23 test1.style.height = '1'; | 23 test1.style.height = '1'; |
24 test2.style.display = 'none'; | 24 test2.style.display = 'none'; |
25 </script> | 25 </script> |
26 </html> | 26 </html> |
OLD | NEW |