Re: [CSSWG][css-scroll-snap] Updated CR of CSS Scroll Snapping Level 1
fantasai <[email protected]> Tue, 14 Aug 2018 17:26:19 -0700
| Newsgroups | gmane.org.w3c.whatwg.discuss,gmane.comp.web.css.general |
|---|---|
| Message-ID | <[email protected]> |
On 12/25/2017 02:54 AM, fantasai wrote: > The CSS WG has published an updated Candidate Recommendation of the > CSS Scroll Snapping Module Level 1: > > https://www.w3.org/TR/css-scroll-snap-1/ > > This module contains features to control panning and scrolling behavior > with “snap positions”. > > This update renames the 'scroll-snap-margin' property to 'scroll-margin' > and applies it also to the target element of scrolling operations such > as scrollIntoView(), focus(), and navigating to #fragment. > > Note that 'scroll-padding' is already applied generally: > https://www.w3.org/TR/css-scroll-snap-1/#scroll-padding > > A related concern was brought up that some DOM APIs define scrolling to > an element in a way that conflicts with scroll-snapping; such APIs should > allow for an element's snap position, if defined, to dictate the position > of an element to the viewport if no explicit argument is given to the > contrary. > > Significant changes are listed at: > > https://www.w3.org/TR/2017/CR-css-scroll-snap-1-20171214/#changes Sorry, that URL should be https://www.w3.org/TR/2018/CR-css-scroll-snap-1-20180814/#changes ~fantasai