[csswg-drafts] [css-syntax-3] Do not consume `;` to consume a declaration (#8755)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax-3] Do not consume `;` to consume a declaration ==
`;` is consumed as part of the declaration value (eg. in `@supports (color: green;) {}`) whereas it cannot be matched by `<declaration>` ([railroad diagram](https://drafts.csswg.org/css-syntax-3/#declaration-diagram)).

I suggest this change in step 5 of [*consume a declaration*](https://drafts.csswg.org/css-syntax-3/#consume-a-declaration):

```diff
- * As long as the next input token is anything other than an <EOF-token>, 
+ * As long as the next input token is anything other than an <EOF-token> or <semicolon-token>, 
    consume a component value and append it to decl’s value.
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8755 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 24 April 2023 06:20:21 UTC