[csswg-drafts] [css-scroll-snap] What is (are) the desirable behavior(s) on re-snapping where the last snap point is on an element larger than the snapport (#7438)

hiikezoe has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scroll-snap] What is (are) the desirable behavior(s) on re-snapping where the last snap point is on an element larger than the snapport ==
There are a couple of interesting cases I can think of;

1) the element is no longer larger than the snapport
2) the element is still larger than the snapport but the size was changed (got smaller or larger)

In the case of 1), re-snapping should snap to the point specified by scroll-snap-align?

In the case of 2), re-snapping should snap to the same position, say the element size was 300px and snapped to at 100px, and now the size is 200px, re-snapping to at 100px? Or to the same proportional position? I mean, snapping to 200/300px?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7438 using your GitHub account


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

Received on Thursday, 30 June 2022 05:16:49 UTC