1 <script src=
"../../resources/js-test.js"></script>
5 <div style=
"position: absolute;">
7 <div id=
"div2" style=
"overflow:hidden; width:100px; height:100px;">x
</div>
12 function RemoveNode(n
) { n
.parentNode
.removeChild(n
) }
13 window
.onload = function() {
14 document
.body
.offsetTop
; // Force layout.
15 RemoveNode(document
.getElementById('div1'));
16 document
.body
.offsetTop
; // Force layout.
17 RemoveNode(document
.getElementById('div2'));
18 if (window
.testRunner
)
19 testRunner
.dumpAsText();