summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/overflow/onscroll-layer-self-destruct.html
blob: e42b169dda95c6054538bacfc5e8b16a60d0962d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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>