[csswg-drafts] [css-syntax-3] Is two hyphens a valid identifier? (#5764)

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

== [css-syntax-3] Is two hyphens a valid identifier? ==
[This](https://www.w3.org/TR/css-syntax-3/#ident-token-diagram) and [this diagram](https://www.w3.org/TR/css-syntax-3/#declaration-diagram) implies `.--` is valid for class selector. While in [this section]() it says the contrary:
> Property names and at-rule names are always identifiers, which have to start with a letter or a hyphen followed by a letter, and then can contain letters, numbers, hyphens, or underscores.

Is `--` a valid identifier in the spec?


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


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

Received on Sunday, 6 December 2020 06:10:23 UTC