- From: Christoph Päper via GitHub <sysbot+gh@w3.org>
- Date: Sat, 13 Mar 2021 09:54:16 +0000
- To: public-css-archive@w3.org
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts: == Vendor prefix in <dashed-ident> == The double-hyphen prefix in custom properties came to life, basically, as an empty vendor prefix, i.e. `-`_`vnd`_`-`_`ident`_ wherein _vnd_ is the empty string. Much later, [`<dashed-ident>`](https://drafts.csswg.org/css-values-4/#dashed-idents) was specified explicitly for author-defined private idents (not just properties). However, its documentation suggests that third parties, e.g. frameworks and preprocessors, should again include vendor-identifying pseudo-namespaces, but now with two hyphens in front! > Even better, it should use @--library1-custom, (…) Can we please change this (back) to a single hyphen? Start a simple namespace registry if you must. I understand that `<custom-property-name>` as used in [`var()`](https://drafts.csswg.org/css-variables-1/#using-variables) *could* remain being restricted to double-hyphen prefixes, but other places could accept vendored idents as well. Actually, I would like vendored custom properties, too, e.g. for industry-standard color names like `-ral-5002` #817 or media sizes like `-iso-a2` #328 and `-vesa-xga`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6099 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 13 March 2021 09:54:18 UTC