- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Oct 2024 13:06:33 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-5] `<any-value>` in functional `<general-enclosed>` should be a non-strict comma-containing production == About [comma-containing productions](https://drafts.csswg.org/css-values-5/#comma-containing-productions): > If it does not start with a "{" token, then it cannot contain commas or {} blocks `@media unknown(foo, bar) {}` and `@media unknown({}) {}` are valid today. So I think `<any-value>` in the functional [`<general-enclosed>`](https://drafts.csswg.org/css-values-5/#non-strict-comma-containing-production) should be defined as a non-strict comma-containing production. I guess the above restriction should only apply in functions (which is [unclear](https://github.com/w3c/csswg-drafts/issues/9539#issuecomment-2415707135)), so there is no need to define `<any-value>` in the `<general-enclosed>` block to allow `@media (foo, bar) {}` and `@media ({})` to be parsed as valid rules, as well as `:unknown-pseudo(foo, bar)` and `:unknown-pseudo({})` as `<pseudo-class-selector>`s. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11042 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 October 2024 13:06:34 UTC