Re: [csswg-drafts] [scroll-animations-1][css-animations-1] A non-animated "Is in viewport" (#10582)

Using a layout dependant state in a selector is something that we tried to avoid so far, as to avoid endless loops.
This is also why we went with a value-based approach for [`animation-trigger`](https://github.com/w3c/csswg-drafts/issues/8942#issuecomment-1723794817).
However, perhaps we could consider this as a further extension for [State Container Queries](https://github.com/w3c/csswg-drafts/blob/main/css-conditional-5/scroll_state_explainer.md)?

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


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

Received on Thursday, 18 July 2024 07:37:17 UTC