Re: [csswg-drafts] [css-scroll-snap-1] Improve or clarify nested snap behaviors (#9187)

One other edge case to consider is what happens when the nested snap areas are not the full size of the viewport. I think that in these cases we may want to scale back the avoidance area of the ancestor snap by the inverse proportion the inner snap doesn't fill the viewport.

![nested-avoidance](https://github.com/w3c/csswg-drafts/assets/366761/5be21241-a682-41f0-822b-257b2cb6374b)

E.g. You should be able to scroll such that x% of a scrollport is visible beyond the inner snap where x% = (100 - y)% with y% being the proportion of the scrollport the inner snap area covers.

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


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

Received on Wednesday, 27 September 2023 13:34:45 UTC