Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow more characters in element/attribute names and prefixes #1079

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Strings seem to be zero-based per Infra
domenic committed Jun 7, 2022
commit 0d5d94593406e432cebc838d5c7a5394305f03e5
4 changes: 2 additions & 2 deletions dom.bs
Original file line number Diff line number Diff line change
@@ -223,7 +223,7 @@ and it does not contain [=ASCII whitespace=], U+0000 NULL, U+002F (/), U+003D (=
<li><p>If |name|'s [=string/length=] is 0, then return false.

<li>
<p>If |name|'s first [=code point=] is an [=ASCII alpha=], then:
<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
@@ -232,7 +232,7 @@ and it does not contain [=ASCII whitespace=], U+0000 NULL, U+002F (/), U+003D (=
<li><p>Return true.
</ol>

<li><p>If |name|'s first [=code point=] is not U+003A (:), U+005F (_), or in the range U+0080
<li><p>If |name|'s 0th [=code point=] is not U+003A (:), U+005F (_), or in the range U+0080
to U+10FFFF, inclusive, then return false.

<li><p>If |name|'s subsequent [=code points=], if any, are not [=ASCII alphas=], [=ASCII digits=],