RESOLVED DUPLICATE of bug 145099 145157
A scroller with "scroll-snap-coordinate" descendants needs interdependent X and Y snap offsets
https://bugs.webkit.org/show_bug.cgi?id=145157
Summary A scroller with "scroll-snap-coordinate" descendants needs interdependent X a...
Simon Fraser (smfr)
Reported 2015-05-18 19:05:10 PDT
We currently store a list of offsets for X and Y axes for snap points. When a scroller has descendants with 'scroll-snap-coordinate' values, we need to store x,y points, not independent lists of x and y offsets. http://dev.w3.org/csswg/css-snappoints/
Attachments
Simon Fraser (smfr)
Comment 1 2015-06-17 14:16:35 PDT
Spec is actually unclear on this point, and it's under discussion.
yisibl
Comment 2 2015-07-08 19:58:10 PDT
We must support offset value(Firefox 39 also supported: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-coordinate) Like this: scroll-snap-coordinate: top right 10px; scroll-snap-coordinate: bottom 10px right 20px; and scroll-snap-destination scroll-snap-destination: top right 10px; scroll-snap-destination: bottom 10px right 20px; See also http://dev.w3.org/csswg/css-backgrounds-3/#position
yisibl
Comment 3 2015-07-08 19:59:37 PDT
Name: scroll-snap-coordinate Value: none | <position># Also scroll-snap-coordinate: none is not support.
Martin Robinson
Comment 4 2020-10-16 09:45:36 PDT
Radar WebKit Bug Importer
Comment 5 2020-11-30 09:29:33 PST
Martin Robinson
Comment 6 2021-01-20 04:42:37 PST
*** Bug 219273 has been marked as a duplicate of this bug. ***
Martin Robinson
Comment 7 2021-07-07 07:18:13 PDT
*** This bug has been marked as a duplicate of bug 145099 ***
Note You need to log in before you can comment on or make changes to this bug.