- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 25 Dec 2017 14:24:20 +0330
- To: "www-style@w3.org" <www-style@w3.org>, public-review-announce@w3.org, WHAT Working Group <whatwg@whatwg.org>
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 Disposition of comments: https://drafts.csswg.org/css-scroll-snap-1/issues-cr-2016-08 Please review the draft, and send any comments to this mailing list, <www-style@w3.org>, prefixed with [css-scroll-snap] (as I did on this message) or (preferably) file them in the GitHub repository at https://github.com/w3c/csswg-drafts/issues For the CSS WG, ~fantasai
Received on Monday, 25 December 2017 12:43:26 UTC