- From: Rune Lillesveen via GitHub <sysbot+gh@w3.org>
- Date: Mon, 20 Jan 2025 14:15:09 +0000
- To: public-css-archive@w3.org
lilles has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-conditional-5] Match scroll-state(scrollable) for root element on viewport == For the following: ```html <!DOCTYPE html> <style> @container scroll-state(scrollable: bottom) { #target { color: green; } } :root { container-type: scroll-state; } #target { height: 10000px; } </style> <div>This text should be green</div> ``` The query will not match unless we match the state of the viewport instead of the root element, since the root element never gets scrollbars. We should add to the spec that queries that query features of a scroll container should consider the viewport for the root element. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11542 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 20 January 2025 14:15:10 UTC