- From: Johannes Odland via GitHub <noreply@w3.org>
- Date: Fri, 29 Aug 2025 13:06:45 +0000
- To: public-css-archive@w3.org
> [@astearns](https://github.com/astearns) [@tabatkins](https://github.com/tabatkins) The proposed resolution should probably be: > > > Proposed Resolution: add `color-scheme()` test to `if()` and **container** queries, which tests the used color scheme on the element > > Although arguably adding it to `container` queries requires more thought. Is there an actual use case for querying the used color scheme of a container as this can be different from the element itself? Don't feel very strongly about this, having parallel between container queries and `if()` does have benefits. Having it as a **media** query would make it possible to provide matching sources for `<picture>` and `<video>` sources. It would probably have to be based on the used color-scheme on the root element. -- GitHub Notification of comment by johannesodland Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10577#issuecomment-3236983005 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 29 August 2025 13:06:46 UTC