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

fantasai has just labeled a pull request from lahmatiy for https://github.com/w3c/csswg-drafts as "Closed Accepted as Editorial":

== [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 Friday, 17 December 2021 01:32:51 UTC