Re: [csswg-drafts] [css-variables] should "--" be a valid custom property name? (#2692)

All browsers I tried treat `--` as a valid custom property name (I've tried Chrome, Firefox and Safari; Edge the same as mentioned above).
Since it works in most (all?) browsers with custom properties support, it can be already used somehow by authors. For example, it using in [CSS Battle](https://cssbattle.dev/) as [a trick to minify size of CSS](https://spectrum.chat/css-battle/general/tips-n-tricks~6034b7fa-d08b-463a-9720-decb5e2c0f5b?m=MTU1NzY3Nzc0MTYyMQ==). I suppose CSS minifiers and other tools can util this technic as well.
It is likely that reserving `--` will be useless.

-- 
GitHub Notification of comment by lahmatiy
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2692#issuecomment-506997216 using your GitHub account

Received on Sunday, 30 June 2019 00:37:00 UTC