3 <!-- This is a regression test for http://crbug.com/305904 -->
6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.waitUntilDone();
9 testRunner
.useUnfortunateSynchronousResizeMode();
12 window
.onload = function() {
13 document
.body
.offsetTop
;
14 b
.style
.display
= "inline-block";
16 document
.body
.offsetTop
;
19 document
.body
.offsetTop
;
20 window
.resizeTo(42, window
.outerHeight
);
22 document
.getElementById("results").innerText
= "Test passes if no crash."
23 if (window
.testRunner
) {
24 testRunner
.notifyDone();
29 <div style=
"width: 0px;">foo
<span id=
"a">
30 <span id=
"b"></span><span>bar
</span><span id=
"c"></span>
32 <span style=
"display:inline-block;"></span>
34 <div><pre id=
"results"></pre></div>