- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Nov 2022 15:08:13 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [cssom] U+0000 does not need to be replaced when serializing an identifier == I think that U+0000 does not need to be replaced in [*serialize an identifier*](https://drafts.csswg.org/cssom-1/#serialize-an-identifier). > To serialize an identifier means to create a string represented by the concatenation of, for each character of the identifier: > - If the character is NULL (U+0000), then the REPLACEMENT CHARACTER (U+FFFD). > - [...] The examples below the definition of [`CSS.escape()`](https://drafts.csswg.org/cssom-1/#dom-css-escape) use it in `document.querySelector()` but [this method](https://dom.spec.whatwg.org/#dom-parentnode-queryselector) parses its input with [*parse a selector*](https://drafts.csswg.org/selectors-4/#parse-a-selector), which leads to replacing U+0000 with U+FFFD in [*filter code points*](https://drafts.csswg.org/css-syntax-3/#css-filter-code-points). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8074 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 November 2022 15:08:15 UTC