Bug 226630 - [css-scroll-snap] New snap containers always snap to the first scroll position
Summary: [css-scroll-snap] New snap containers always snap to the first scroll position
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords: InRadar
Depends on: 226538
Blocks: 218115 226654
  Show dependency treegraph
 
Reported: 2021-06-04 00:21 PDT by Martin Robinson
Modified: 2021-06-16 12:38 PDT (History)
8 users (show)

See Also:


Attachments
Patch (25.25 KB, patch)
2021-06-07 01:12 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch (26.52 KB, patch)
2021-06-07 01:59 PDT, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2021-06-04 00:21:10 PDT
When a snapping scroll area is created, post layout snapping always forces the container to the first snap position. This happens even when the container is right-to-left (the last horizontal snap positions is closest to the origin) and when the first snap position shouldn't be active because of proximity.
Comment 1 Martin Robinson 2021-06-07 01:12:32 PDT
Created attachment 430720 [details]
Patch
Comment 2 Martin Robinson 2021-06-07 01:59:21 PDT
Created attachment 430728 [details]
Patch
Comment 3 Radar WebKit Bug Importer 2021-06-11 00:22:30 PDT
<rdar://problem/79184230>
Comment 4 EWS 2021-06-15 00:08:15 PDT
Committed r278862 (238806@main): <https://commits.webkit.org/238806@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430728 [details].