Re: [csswg-drafts] [css-conditional-5] Match scroll-state(scrollable) for root element on viewport (#11542)

I feel like we should avoid propagation if possible here (that's our general policy, after all), and just say that if nothing else catches the scroll-state() query, it's answered by the viewport.

So this would mean that Rune's code wouldn't work as intended (as the root element is capturing the scroll-state query), but if you removed the `:root { container-type: scroll-state; }` rule then it would Just Work by default. That seems like a good behavior to me.

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


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

Received on Tuesday, 29 April 2025 21:21:20 UTC