[csswg-drafts] Pull Request: [css-syntax-3] Fix serialization matrix related to CDC-token

lahmatiy has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-syntax-3] Fix serialization matrix related to CDC-token ==
Since double dash `--` is a valid identifier by the spec the `CDC-token` is breaking "round-trip" with parsing now when follows after `#`, `-`, number or `@`:

* `#-->` = `#--` (hash-token) + `>` (delim-token)
* `--->` = `---` (ident-token) + `>` (delim-token)
* `number-->` = `number--` (dimension-token) + `>` (delim-token)
* `@-->` = `@--` (at-keyword-token) + `>` (delim-token)


See https://github.com/w3c/csswg-drafts/pull/6874


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

Received on Thursday, 9 December 2021 17:12:18 UTC