[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / scrollbars / scrollable-iframe-remove-crash.html
1 <html>\r
2 <script>\r
3 if (window.layoutTestController)\r
4 {\r
5     layoutTestController.dumpAsText();\r
6     layoutTestController.waitUntilDone();\r
7 }\r
8 \r
9 function scrollEventFired()\r
10 {\r
11     document.getElementById('console').innerHTML = "Scrolled by JavaScript scrollTo(): PASS";\r
12  \r
13     if (window.layoutTestController)\r
14         layoutTestController.notifyDone();\r
15 }\r
16 \r
17 function runTest()\r
18 {\r
19     window.frames[0].onscroll = scrollEventFired;\r
20     window.frames[0].scrollTo(0, 50);\r
21 }\r
22 </script>\r
23 <junk id="console">\r
24 <iframe onload="runTest();" src="resources/scrollable-iframe.html">\r
25 </junk>\r
26 </html>\r
27 \r