[csswg-drafts] [css-values][css-var] Numeric dashed ident (#6131)

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

== [css-values][css-var] Numeric dashed ident ==
Are all-numeric [`<dashed-ident>`s](https://drafts.csswg.org/css-values-4/#dashed-idents) like `--123` valid in general and as a [`<custom-property-name>`](https://drafts.csswg.org/css-variables-1/#defining-variables) in particular?

The [informative grammar for `<ident-token>`](https://drafts.csswg.org/css-syntax-3/#ident-token-diagram) seems to allow them and [they are supported apparently](https://jsfiddle.net/dc94uamb/).

If they are intentionally valid indeed, I’d welcome this being mentioned in one of the specs, e.g. in an example.

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


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

Received on Tuesday, 23 March 2021 20:12:48 UTC