OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <body style="overflow:hidden" onload="test()"> | 2 <body style="overflow:hidden" onload="test()"> |
3 <div id="other"> </div> | 3 <div id="other"> </div> |
4 <div> | 4 <div> |
5 <div style="position:absolute; top: 0px; overflow:hidden; width:500px; height:
500px;" id="grandparent"> | 5 <div style="position:absolute; top: 0px; overflow:hidden; width:500px; height:
500px;" id="grandparent"> |
6 <div style="position:absolute; top: 0px; overflow:hidden; width:500px; heigh
t:500px;" id="root"> | 6 <div style="position:absolute; top: 0px; overflow:hidden; width:500px; heigh
t:500px;" id="root"> |
7 </div> | 7 </div> |
8 </div> | 8 </div> |
9 </div> | 9 </div> |
10 <script type="text/javascript"> | 10 <script type="text/javascript"> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // will not traverse into the svg subtree at all since the DIV#grandparent's
render object is | 51 // will not traverse into the svg subtree at all since the DIV#grandparent's
render object is |
52 // not marked as needing layout. | 52 // not marked as needing layout. |
53 document.body.offsetWidth; | 53 document.body.offsetWidth; |
54 // This goes into the void since the LayoutSVGRoot is already marked as need
sLayout but there is no | 54 // This goes into the void since the LayoutSVGRoot is already marked as need
sLayout but there is no |
55 // layout pending. | 55 // layout pending. |
56 greenRect.setAttribute("x", "50%"); | 56 greenRect.setAttribute("x", "50%"); |
57 } | 57 } |
58 </script> | 58 </script> |
59 </body> | 59 </body> |
60 | 60 |
OLD | NEW |