- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Apr 2023 04:41:12 +0000
- To: public-css-archive@w3.org
`<style-feature>` has been updated according to the above resolution and is now explicitly defined with `<ident> : <declaration-value> | <ident>` instead of this sole [prose](https://drafts.csswg.org/css-contain-3/#style-container): > The syntax of a `<style-feature>` is the same as for a declaration [...] Note: it may also have to be updated with *is a property name or is the same as for a declaration [...]*, the basic syntax can be simplified to `<declaration> | <ident>` or `<ident> [':' <declaration-value>]?`, and `:` should be quoted, according to [CSS Values](https://drafts.csswg.org/css-values-4/#component-types). In #8735, I ask for clarifications about `<declaration>`. It is not defined, and I am not sure if it represents a valid declaration according to the CSS syntax or more specifically, a valid declaration according to the CSS grammar, ie. `color: 1px` is valid according to the CSS syntax but is invalid according to the CSS grammar. (Sorry if I am using *grammar* and *syntax* terms incorrectly/inappropriately) If `<ident>` can match an invalid property (which would then not be matched as `<any-value>`), `<declaration>` can match `color: 1px` and represents a valid declaration (structure). -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8127#issuecomment-1517247545 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 21 April 2023 04:41:14 UTC