- From: Guillaume via GitHub <noreply@w3.org>
- Date: Tue, 01 Jul 2025 05:33:06 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-conditional-5] Should `revert-*` evaluate to `unknown` instead of `false` in a style query? == https://drafts.csswg.org/css-conditional-5/#style-container > Cascade-dependent keywords, such as `revert` and `revert-layer`, are invalid as values in a style feature, **and cause the container style query to be false**. But my understanding is that if it is *invalid*, the corresponding input `<style-in-parens>` matches `<general-enclosed>` and evaluates to `unknown`, which is intended for an invalid feature name or value, or when any other part of the input does not match the syntax of the query/feature. Do you want `not style(--custom: revert)` to evaluate to `true` like in Chrome, or `false`, which requires evaluating it to `unknown`? Based on the comments in #7080, I suspect `unknown` is expected: > I mean that `style(left: revert[-layer])` should be a parse error or "unknown" or something like that. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12424 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 July 2025 05:33:07 UTC