Bug 142706 - scroll snap points do not properly account for zoomed pages
Summary: scroll snap points do not properly account for zoomed pages
Status: RESOLVED FIXED
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
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-14 21:07 PDT by Brent Fulgham
Modified: 2015-03-15 12:14 PDT (History)
8 users (show)

See Also:


Attachments
Patch (4.27 KB, patch)
2015-03-14 23:01 PDT, Brent Fulgham
andersca: 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 2015-03-14 21:07:14 PDT
Zooming a page with scroll snap points causes the snap point logic to do the wrong thing. We should be properly dealing with zoomed state when searching for the nearest snap point, and when animating to the target location.
Comment 1 Radar WebKit Bug Importer 2015-03-14 21:09:41 PDT
<rdar://problem/20165771>
Comment 2 Brent Fulgham 2015-03-14 22:58:27 PDT
When computing snap point targets, we need to account for the current page zoom. This is currently ignored.
Comment 3 Brent Fulgham 2015-03-14 23:01:21 PDT
Created attachment 248673 [details]
Patch
Comment 4 Brent Fulgham 2015-03-15 12:14:07 PDT
Committed r181510: <http://trac.webkit.org/changeset/181510>