Bug 170560

Summary: Scroll offset jumps after a programmatic scroll in an overflow container with scroll snapping
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: Layout and RenderingAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cathyxz, commit-queue, manian, simon.fraser, sriramkrish85, thorton, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Reduced test case adapted from <http://output.jsbin.com/fiwiqo>
none
Patch
thorton: review+
Patch for landing none

Description Wenson Hsieh 2017-04-06 13:03:30 PDT
Created attachment 306413 [details]
Reduced test case adapted from <http://output.jsbin.com/fiwiqo>

See whsieh.github.io/examples/scroll-snap-fixed-div.html on an iOS device.
Comment 1 Wenson Hsieh 2017-04-06 13:04:42 PDT
This is the bug in <https://bugs.webkit.org/show_bug.cgi?id=169800> pertaining to overflow scrolling.
Comment 2 Radar WebKit Bug Importer 2017-04-06 13:06:10 PDT
<rdar://problem/31484693>
Comment 3 Wenson Hsieh 2017-04-06 13:32:44 PDT
Created attachment 306422 [details]
Patch
Comment 4 Wenson Hsieh 2017-04-06 16:58:41 PDT
Created attachment 306438 [details]
Patch for landing
Comment 5 WebKit Commit Bot 2017-04-06 17:38:45 PDT
Comment on attachment 306438 [details]
Patch for landing

Clearing flags on attachment: 306438

Committed r215075: <http://trac.webkit.org/changeset/215075>
Comment 6 Sriram Krishnan 2017-05-31 15:48:38 PDT
@Wenson Hsieh - looks like the patch failed to apply on IOS  - could some one take a look at this please?
Comment 7 Wenson Hsieh 2017-05-31 16:30:32 PDT
(In reply to Sriram Krishnan from comment #6)
> @Wenson Hsieh - looks like the patch failed to apply on IOS  - could some
> one take a look at this please?

The "Failed to apply" message is only on an iOS EWS bot.