- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Mon, 20 Oct 2025 17:03:38 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values] Are the codepoints in an indentifier stored in escaped form or not? == Imagine `a\ b` is parsed as an `<ident>`. What are the code points of the produced ident? - Option 1: the indentifier is stored in escaped form 1. `a` 2. `\` 3. ` ` 4. `b` - Option 2: the indentifier is stored raw 1. `a` 2. ` ` 3. `b` https://drafts.csswg.org/css-values/#css-css-identifier seems to assume option 1: > CSS identifiers, generically denoted by `<ident>`, consist of a sequence of characters conforming to the [`<ident-token>`](https://drafts.csswg.org/css-syntax-3/#typedef-ident-token) grammar. https://drafts.csswg.org/cssom/#serialize-an-identifier seems to assume option 2, since it escapes manually. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12982 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 20 October 2025 17:03:39 UTC