w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.51k stars 671 forks source link

[css-conditional-5] Add `both` value to scroll-state(snapped) feature. #11181

Open fantasai opened 1 week ago

fantasai commented 1 week ago

The current syntax of snapped is none | x | y | block | inline; but in a lot of cases you actually want to check for both, because the element could be snapped in one axis but still off-screen.

lilles commented 2 days ago

Proposed async resolution: Add both value to scroll-state(snapped)

astearns commented 2 days ago

The CSSWG will automatically accept this resolution one week from now if no objections are raised here. Anyone can add an emoji to this comment to express support. If you do not support this resolution, please add a new comment.

Proposed Resolution: Add both value to scroll-state(snapped)