[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / overflow / onscroll-layer-self-destruct.html
1 <head>
2 <script>
3 function test() {
4     if (window.layoutTestController) {
5         layoutTestController.dumpAsText();
6         layoutTestController.waitUntilDone();
7     }
8     document.getElementById("it").scrollTop = 100;
9 }
10 </script>
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.layoutTestController) layoutTestController.notifyDone();">
14 <div style="height: 2000px;"></div>
15 </div>
16 </body>