Created attachment 58331 [details] reproduce How to reproduce: - Resize window to about 500x500 - Open reproduce HTML - Mouse down somewhere on the text - Drag mouse cursor (caret) to rightmost scrollbar What to expect: - Window start to scroll to right Happens instead: - No scroll happens.
Scrollbars with "overflow:scroll" work well. This happens only with outermost scrollbars.
How other applications behave: - Firefox and IE8 also start autoscroll when the cursor is over the scrollbar - TextEdit.app is also same.
Created attachment 59889 [details] patch v0
Could anyone can take a look at this? This type of autoscroll matters for fullscreen-oriented devices such as tablet and netbooks. Other apps also support this.
Is there a reason why this cannot be tested with DumpRenderTree?
HI mitz, thank you for taking a look! (In reply to comment #5) > Is there a reason why this cannot be tested with DumpRenderTree? I tried, but couldn't figure out how. I tried to send mouse events using eventSender.mouseMove(), But nothing happen when the pointer's position is over the scrollbar. When the position is inside the content area (not over the scrollbar), events are delivered to WebCore. But with scrollbar, they aren't. I suspect invoking NSView.mouseMoved() or NSView.mouseDragged() isn't sufficient to deliver events to the scrollbar. But I'm not sure.
Committed r63943: <http://trac.webkit.org/changeset/63943>