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