diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
commit | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch) | |
tree | 11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/autoscroll.html | |
parent | 648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff) | |
download | external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/autoscroll.html')
-rw-r--r-- | WebCore/manual-tests/autoscroll.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/WebCore/manual-tests/autoscroll.html b/WebCore/manual-tests/autoscroll.html new file mode 100644 index 0000000..10f3bc5 --- /dev/null +++ b/WebCore/manual-tests/autoscroll.html @@ -0,0 +1,28 @@ +<head> +<script> +function addFrameText() { + frameDoc = window.frames[0].document; + item = frameDoc.createElement("p"); + item.appendChild(frameDoc.createTextNode("Hello, world!")); + for (i = 0; i < 1000; ++i) { + frameDoc.body.appendChild(item.cloneNode(true)); + } +} +</script> +</head> + +<body onload="javascript:addFrameText()"> + +<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=11718">bug 11718</a>: +When I mouse up after dragging a selection outside of a iframe, the iframe continues to scroll automatically.</p> + +<p>Make the frame autoscroll by moving the mouse pointer outside of it while selecting. +Autoscrolling should stop when you release the mouse button outside the frame (in the main frame, +in another subframe, or just outside the window).</p> + +<IFRAME FRAMEBORDER=1></IFRAME> +<br> +<IFRAME FRAMEBORDER=1></IFRAME> + +</body> +</html> |