Re: [csswg-drafts] [css-syntax] custom property names too permissive, require namespacing rules (#7129)

These [tests](https://github.com/web-platform-tests/wpt/blob/188b6f78fbbbf7bf21f2b77cce3bf94621843b5b/dom/nodes/ParentNode-querySelector-escapes.html) also do not appear to have been updated:

```js
testMatched("\u{2003}", "#\u{2003}");
testMatched("\u{A0}", "#\u{A0}");
testMatched("\u{12345}", "#\u{12345}");
```

But is there any intention to revert the change (f1792dd) for this issue? Because HTML now allows more characters in custom element names (`[a-z][^\0\t\n\f\r\u0020/>]*`):

  - https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
  - https://github.com/whatwg/html/pull/7991

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 6 June 2026 17:10:20 UTC