Re: [csswg-drafts] [css-scroll-snap] Clarify what the expected animation behavior on scroll-margin and scroll-padding (#8445)

Interesting indeed. :) My expectation is that if scroll-margin is animating while you're snapped to that element, then the scroll position changes in accordance with the animation, so that at any given point in time the layout of the page (and the scroll positions) match what would happen if you loaded the page with those settings. There may be limits to what's practical from an implementation perspective, but in general CSS is stateless and what you get is what the current state of the properties dictate.

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


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

Received on Tuesday, 14 February 2023 04:13:02 UTC