Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / autoscroll.html
blobdb9bd90d9fbac541d70e0d500ed7736626f1c713
1 <head>
2 <script>
3 function addFrameText() {
4 frameDoc = window.frames[0].document;
5 item = frameDoc.createElement("p");
6 item.appendChild(frameDoc.createTextNode("Hello, world!"));
7 for (i = 0; i < 1000; ++i) {
8 frameDoc.body.appendChild(item.cloneNode(true));
11 </script>
12 </head>
14 <body onload="javascript:addFrameText()">
16 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=11718">bug 11718</a>:
17 When I mouse up after dragging a selection outside of a iframe, the iframe continues to scroll automatically.</p>
19 <p>Make the frame autoscroll by moving the mouse pointer outside of it while selecting.
20 Autoscrolling should stop when you release the mouse button outside the frame (in the main frame,
21 in another subframe, or just outside the window).</p>
23 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=49209">bug 49209</a>:
24 Open another page in a different tab, middle click in the first iframe, scroll up, and select the other tab. The pan scrolling
25 cursor should disappear, and you should exit pan scrolling mode.</p>
27 <IFRAME FRAMEBORDER=1></IFRAME>
28 <br>
29 <IFRAME FRAMEBORDER=1></IFRAME>
31 </body>
32 </html>