Bug 146497

Summary: REGRESSION (r184296): View keeps scrolling upward
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Brent Fulgham 2015-06-30 23:57:32 PDT
The change in <http://trac.webkit.org/changeset/184296> introduced a regression on certain sites that handle scrolling manually. The change in r184296 was designed to make sure that the logic to notify scroll bars that they should re-hide was not bypassed when the wheel event had zero movement, which is typical for "end scroll" state.

Unfortunately, on certain sites this had the undesirable side-effect of triggering a programmatic scroll event in JavaScript at the end of the gesture.

I'm working on a reduced test case for this behavior, but I have a fix for the web page showing the problem.
Comment 1 Brent Fulgham 2015-06-30 23:58:34 PDT
<rdar://problem/21524942>
Comment 2 Brent Fulgham 2015-07-01 00:04:36 PDT
Created attachment 255903 [details]
Patch
Comment 3 Brent Fulgham 2015-07-01 12:30:28 PDT
Committed r186185: <http://trac.webkit.org/changeset/186185>