- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Jun 2024 15:31:17 +0000
- To: public-css-archive@w3.org
> * Substituting an `if()` then mostly just becomes an advanced `var()` substitution, with some conditionals built in to it. > * The `if()` function can evaluate exactly what style CQs can evaluate, and nothing else (for now). > > * This means only custom properties are supported in practice. (Despite [style()](https://drafts.csswg.org/css-contain-3/#style-container) currently being specified with support for standard properties, implementations never picked it up.) Yup. How hard would it be to support other queries beyond `style()`? E.g. size queries, `supports()`, `media()`? (`style()` does address the vast majority of use cases, but if any of these are easy, we may as well support them too.) -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10064#issuecomment-2158668159 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 June 2024 15:31:18 UTC