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+

Description Brent Fulgham 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.
Comment 1 Brent Fulgham 2014-04-21 16:52:57 PDT
Created attachment 229840 [details]
Patch
Comment 2 Simon Fraser (smfr) 2014-04-21 17:03:03 PDT
Comment on attachment 229840 [details]
Patch

Can this have a testcase?
Comment 3 Brent Fulgham 2014-04-21 17:05:30 PDT
Committed r167634: <http://trac.webkit.org/changeset/167634>
Comment 4 Brent Fulgham 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.
Comment 5 Brent Fulgham 2014-04-21 20:58:57 PDT
<rdar://problem/16654523>