OLD | NEW |
1 <html> | 1 <html> |
2 Test passes if it does not crash. | 2 Test passes if it does not crash. |
3 <body onload="runTest()"> | 3 <body onload="runTest()"> |
4 <div style="display: -webkit-inline-box"> | 4 <div style="display: -webkit-inline-box"> |
5 <span id="span1"> | 5 <span id="span1"> |
6 <span><blockquote></blockquote></span> | 6 <span><blockquote></blockquote></span> |
7 <span><p style="float: left;"></p></span> | 7 <span><p style="float: left;"></p></span> |
8 </span> | 8 </span> |
9 <span id="span2" style="display: list-item"></span> | 9 <span id="span2" style="display: list-item"></span> |
10 </div> | 10 </div> |
11 <script type="text/javascript"> | 11 <script type="text/javascript"> |
12 if (window.layoutTestController) | 12 if (window.layoutTestController) |
13 layoutTestController.dumpAsText(); | 13 layoutTestController.dumpAsText(); |
14 | 14 |
15 function runTest() { | 15 function runTest() { |
16 document.body.offsetTop; | 16 document.body.offsetTop; |
17 span1 = document.getElementById('span1'); | 17 span1 = document.getElementById('span1'); |
18 span2 = document.getElementById('span2'); | 18 span2 = document.getElementById('span2'); |
19 tfoot = document.createElement('tfoot'); | 19 tfoot = document.createElement('tfoot'); |
20 span2.appendChild(tfoot); | 20 span2.appendChild(tfoot); |
21 document.body.offsetTop; | 21 document.body.offsetTop; |
22 span1.parentNode.removeChild(span1); | 22 span1.parentNode.removeChild(span1); |
23 } | 23 } |
24 </script> | 24 </script> |
25 </body> | 25 </body> |
26 </html> | 26 </html> |
OLD | NEW |