| OLD | NEW |
| (Empty) |
| 1 <body onload="test()"> | |
| 2 <script> | |
| 3 function overflowChanged() | |
| 4 { | |
| 5 document.getElementById("result").innerText = "PASS"; | |
| 6 } | |
| 7 | |
| 8 function test() | |
| 9 { | |
| 10 if (window.testRunner) | |
| 11 testRunner.waitUntilDone(); | |
| 12 | |
| 13 document.body.offsetTop; | |
| 14 var bottomBox = document.getElementById("bottomBox"); | |
| 15 bottomBox.parentNode.removeChild(bottomBox); | |
| 16 document.addEventListener("overflowchanged", overflowChanged, true, true
); | |
| 17 } | |
| 18 | |
| 19 function iframeResized() | |
| 20 { | |
| 21 document.body.appendChild(document.createElement("div")); | |
| 22 if (window.testRunner) | |
| 23 testRunner.dumpAsText(); | |
| 24 | |
| 25 setTimeout(finish, 0); | |
| 26 } | |
| 27 | |
| 28 function finish() | |
| 29 { | |
| 30 document.getElementById("tallBox").style.height = "50px"; | |
| 31 if (window.testRunner) | |
| 32 testRunner.notifyDone(); | |
| 33 } | |
| 34 </script> | |
| 35 <p> | |
| 36 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=16490">http://bu
gs.webkit.org/show_bug.cgi?id=16490</a> | |
| 37 ASSERT in ~FrameView while viewing/reloading WICD test case</i>. | |
| 38 </p> | |
| 39 <div> | |
| 40 <iframe style="width: 100%;" src="resources/paused-event-dispatch-iframe.htm
l"></iframe> | |
| 41 </div> | |
| 42 <div id="bottomBox" style="position: absolute; left: 0; top: 5000px; height: 10p
x; width: 10px;"></div> | |
| 43 <div style="height: 100px; width: 100px; overflow: auto;" id="overflow"> | |
| 44 <div style="height: 200px;" id="tallBox"></div> | |
| 45 </div> | |
| 46 <div id="result">FAIL</div> | |
| 47 </body> | |
| OLD | NEW |