[csswg-drafts] [css-scroll-snap] clarify the meanin of "the scroll snap area is larger than the snapport" (#7267)

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

== [css-scroll-snap] clarify the meanin of "the scroll snap area is larger than the snapport" ==
For resolving scroll-snap-align, the spec definition is;

> Start and end alignments are resolved with respect to the [writing mode](https://drafts.csswg.org/css-writing-modes-4/#writing-mode) of the [snap container](https://drafts.csswg.org/css-scroll-snap/#scroll-snap-container) unless the [scroll snap area](https://drafts.csswg.org/css-scroll-snap/#scroll-snap-area) is larger than the [snapport](https://drafts.csswg.org/css-scroll-snap/#scroll-snapport), in which case they are resolved with respect to the writing mode of the box itself.

I believe it means that unless the snap area is larger on __at least one of the axis__. I mean even if, say, the snap area's height is smaller than the snapport height but if the snap area's width is larger than the snapport, snap-snap-align should be resolved with the box's writing mode, right? Otherwise, for example, `scroll-snap-align: start start` will be conflict with in the case where writing-modes of the snap container and the target box are different.

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


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

Received on Tuesday, 10 May 2022 22:08:52 UTC