Bug 16072

Summary: MouseMove event fails when inside a mousedown over a scroll bar
Product: WebKit Reporter: Dav Glass <dav.glass>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Severity: Major CC: lars.knoll, manyoso, staikos, zecke
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://blog.davglass.com/files/yui/safari2/
Description Flags
patch darin: review+

Description Dav Glass 2007-11-20 08:58:03 PST
During YUI Release tests we found that in Safari 3.x (and Nightlies):

Moving your mouse anywhere in the document results in a mousemove event being traced. Holding the mouse button down and moving your mouse anywhere in the document also results in a mousemove event being traced ... until you mouse over the scrollbars around a content div with overflow:scroll. mousemove no longer bubbles to the document (unless you move your mouse across the scroll bar really fast)

Test Case attached as URL.
Comment 1 Adam Roben (:aroben) 2007-11-20 09:48:48 PST
Comment 2 Adele Peterson 2007-11-29 16:27:20 PST
Created attachment 17597 [details]

In addition to fixing the reported bug, I think this will have the effect of matching how hover effects work in native Windows scrollbars.  I tested in Notepad, and saw that the hover effect doesn't show when the mouse is pressed and you rollover the scrollbar.

I need help testing this on other platforms though, to make sure this doesn't break the hover effect on those scrollbars.
Comment 3 Adele Peterson 2007-11-29 16:32:08 PST
CC'ing some QT folks to see if they can help me w/ testing.
Comment 4 Darin Adler 2007-11-29 16:35:23 PST
Comment on attachment 17597 [details]

Comment 5 Adele Peterson 2007-11-30 09:05:19 PST
Committed revision 28233.