<head> | |
<script> | |
function test() { | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
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'"> | |
<div style="height: 2000px;"></div> | |
</div> | |
</body> |