Bug 131959 - [Mac] Difficulty gesture scrolling vertically with trackpad after scrolling horizontally
Summary: [Mac] Difficulty gesture scrolling vertically with trackpad after scrolling h...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
Keywords: InRadar
Depends on:
Reported: 2014-04-21 16:46 PDT by Brent Fulgham
Modified: 2014-04-21 20:58 PDT (History)
2 users (show)

See Also:

Patch (3.05 KB, patch)
2014-04-21 16:52 PDT, Brent Fulgham
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Simon Fraser (smfr) 2014-04-21 17:03:03 PDT
Comment on attachment 229840 [details]

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