- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Apr 2020 23:00:28 +0000
- To: public-css-archive@w3.org
Oriol was using the exact names you used, and had to use escapes to write them; in reality you'd just change the way you write them so that they're a valid ident to start with, as I did in my previous comment (`s1_1` instead of `1.1`). The line names have to be [CSS idents](https://drafts.csswg.org/css-values/#css-identifier), which have some basic rules about how they can be written; the big one is that they must start with a letter, underscore, or dash (or a non-ASCII character); in particularly, if a value starts with an ASCII digit, it's instead parsed as a CSS number or dimension. If you do, for whatever reason, need to start an ident with a digit or other disallowed character, you can do so by escaping it, as Oriol did, by giving its unicode codepoint in hexadecimal. As he said, the digit "0" has codepoint U+0030, so you can write it in CSS as `\30`. But that's advanced and weird usage that has no place being in a normal stylesheet, so don't worry about it. ^_^ -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4892#issuecomment-610661065 using your GitHub account
Received on Tuesday, 7 April 2020 23:00:32 UTC