Re: [csswg-drafts] [css-scroll-snap-1] re-snapping after layout with animations (#4609)

Added the following paragraph to the re-snapping section:

> Scrolling required by a re-snap operation to a new or different box must behave and animate the same way as any other scroll-into-view operation, including honoring controls such as 'scroll-behavior'. Scrolling behavior for re-snapping to the same box as before however, is UA-defined. The UA may, for example, when snapped to the start of a section, choose not to animation the scroll to the section’s new position as content is dynamically added earlier in the document in order to create the illusion of not scrolling.

And made the following edits to 'scroll-behavior':

> The scroll-behavior property specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation<ins>,</ins><del> or</del> CSSOM scrolling APIs<ins>, or scroll snapping operations not initiated by the user [[!CSS-SCROLL-SNAP-1]]</ins>. Any other scrolls, e.g. those that are performed by the user, are not affected by this property. 

@majido @tabatkins @smfr Lmk if the edits look good.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4609#issuecomment-693732456 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 17 September 2020 00:15:12 UTC