- From: Guillaume via GitHub <noreply@w3.org>
- Date: Tue, 01 Jul 2025 08:28:24 +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 `!important` be valid in a style query? == (This is a follow-up of recent changes from #12401 following the [resolution in #8376](https://github.com/w3c/csswg-drafts/issues/8376#issuecomment-2773374483).) https://drafts.csswg.org/css-conditional-5/#style-container > The syntax of a `<style-feature>` is either the same as for a valid declaration But the syntax of `<style-feature-plain>` has recently been made explicit with `<style-feature-name> : <style-feature-value>`, with `<style-feature-value>` defined as `<declaration-value>`, which does not accept `!`. In Chrome, it seems that `style(--custom: 1 !important)` evaluates to `true` regardless of whether the declaration of `--custom: 1` for the container has a priority or not. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12426 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 08:28:25 UTC