- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 17 Oct 2024 12:02:51 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values-5] Should an empty `{}` match `<declaration-value>` and `<any-value>` in functions? == Considering the emphasized part below, I would say no because [`<declaration-value>`](https://drafts.csswg.org/css-syntax-3/#typedef-declaration-value) and `<any-value>` require one or more tokens: > If it does start with a "{" token, then the production matches just the `{}` block that the "{" token opens. **It represents the contents of that block, and applies whatever specific restrictions it defines for itself to those contents**, ignoring the `{}` block wrapper. https://drafts.csswg.org/css-values-5/#comma-containing-productions However, it matches `<whole-value>`, right? No use case in mind, I just want to be sure. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11043 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 17 October 2024 12:02:52 UTC