autoscroll.html   [plain text]

function addFrameText() {
  frameDoc = window.frames[0].document;
  item = frameDoc.createElement("p");
  item.appendChild(frameDoc.createTextNode("Hello, world!"));
  for (i = 0; i < 1000; ++i) {

<body onload="javascript:addFrameText()">

<p>Test for <a href="">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>