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

@domenic commented on this pull request.



>  
-<pre class=lang-ebnf>
-<dfn>ValidElementLocalName</dfn>         ::= <a>HTMLParserCompatibleName</a> | <a>BeyondHTMLParserName</a>
-
-<dfn>HTMLParserCompatibleName</dfn>      ::= [a-zA-Z] [^#x00#x09#x0A#0x0Cx0D#x20/>]*
-
-<dfn>BeyondHTMLParserName</dfn>          ::= <a>BeyondHTMLParserNameStartChar</a> (<a>BeyondHTMLParserNameChar</a>)*
-<dfn>BeyondHTMLParserNameStartChar</dfn> ::= ":" | "_" | [#x80-#x10FFFF]
-<dfn>BeyondHTMLParserNameChar</dfn>      ::= <a>BeyondHTMLParserNameStartChar</a> | [a-zA-Z] | "-" | "." | [0-9]
-</pre>
+* its [=string/length=] is at least 1;
+* its first [=code point=] is an [=ASCII alpha=], U+003A (:), U+005F (_), or in the range U+0080 to
+  U+10FFFF inclusive; and
+* its subsequent [=code points=], if any, are not [=ASCII whitespace=], U+0000 NULL, U+002F (/), or
+  U+003E (>).

Done, I think

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

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

Received on Tuesday, 7 June 2022 16:27:13 UTC