Bug 131959

Summary: [Mac] Difficulty gesture scrolling vertically with trackpad after scrolling horizontally
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch simon.fraser: review+

Brent Fulgham
Reported 2014-04-21 16:46:01 PDT
Sites with specific markup could encounter a problem where performing a horizontal scroll inside a div contained within a larger scrolling overflow could prevent subsequent vertical mouse wheel gestures from bubbling up to the enclosing div. This was caused by the "scrolledToTop" or "scrolledToBottom" methods to improperly return false when the div was actually at the maximum scroll. I'm investigating why the result was sometimes incorrect (see Bug 131958) separately, but we can sidestep the issue by recognizing that scrollable areas that have a style encoded with "overflow-y = hidden" should always report that they are at the maximum scroll position.
Attachments
Patch (3.05 KB, patch)
2014-04-21 16:52 PDT, Brent Fulgham
simon.fraser: review+
Brent Fulgham
Comment 1 2014-04-21 16:52:57 PDT
Simon Fraser (smfr)
Comment 2 2014-04-21 17:03:03 PDT
Comment on attachment 229840 [details] Patch Can this have a testcase?
Brent Fulgham
Comment 3 2014-04-21 17:05:30 PDT
Brent Fulgham
Comment 4 2014-04-21 17:06:04 PDT
(In reply to comment #2) > (From update of attachment 229840 [details]) > Can this have a testcase? A new testcase will be added as part of Bug 131958.
Brent Fulgham
Comment 5 2014-04-21 20:58:57 PDT
Note You need to log in before you can comment on or make changes to this bug.