[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / scrollbars / scrollevent-iframe-no-scrolling.html
1 <html>
2     <head>
3         <script>
4             if (window.layoutTestController) {
5                 layoutTestController.dumpAsText();
6                 layoutTestController.waitUntilDone();
7             }
8             function timeoutFired()
9             {
10                 document.getElementById('console').innerHTML = "Scrolled by JavaScript scrollTo(): FAILED";
11                 if (window.layoutTestController)
12                     window.layoutTestController.notifyDone();
13             }
14             function scrollEventFired()
15             {
16                 document.getElementById('console').innerHTML = "Scrolled by JavaScript scrollTo(): PASS";
17                 if (window.layoutTestController)
18                     window.layoutTestController.notifyDone();
19             }
20             function runTest()
21             {
22                 window.frames[0].onscroll = scrollEventFired;
23                 window.frames[0].scrollTo(0, 50);
24                 setTimeout("timeoutFired()", 1000);
25             }
26         </script>
27     </head>
28     <body>
29         <div id="console"></div>
30         <iframe onload="runTest();" scrolling="no" style="width:200px;height:200px;" src="resources/scrollable-iframe.html"> 
31     </body>
32 </html>
33