Re: [whatwg/dom] Allow more characters in element/attribute names and prefixes (PR #1079)

@annevk commented on this pull request.



>  
- <li><p><a>Validate</a> <var>qualifiedName</var>.
+ <li>
+  <p>If |name|'s 0th [=code point=] is an [=ASCII alpha=], then:
+
+  <ol>
+   <li><p>If |name| contains [=ASCII whitespace=], U+0000 NULL, U+002F (/), or U+003E (>), then
+   return false.
+
+   <li><p>Return true.

Yeah, it seems unlikely you'd need to hold a uint32 to implement this. (ICU has some suitable asserts if for some reason you do.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1079#discussion_r2097112766
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1079/review/2852879286@github.com>

Received on Tuesday, 20 May 2025 06:47:52 UTC