<head> | |
<script> | |
function test() { | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
document.getElementById("it").scrollTop = 100; | |
} | |
</script> | |
<body onload="test()"> | |
<p>This test involves a layer that self-destructs when scrolled. If there's no crash, then the test succeeded.</p> | |
<div id="it" style="height: 100%; overflow: auto;" onscroll="style.display = 'none';if (window.testRunner) testRunner.notifyDone();"> | |
<div style="height: 2000px;"></div> | |
</div> | |
</body> |