Allow more characters in element/attribute names and prefixes #38503
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch significantly changes the parsing of element names, attribute
names, and namespace prefixes for DOM APIs to allow more flexibility and
better parity with the HTML parser.
I am planning on making an intent to ship for this behavior before
enabling it by default.
I am planning on making another WPT patch to change the existing tests
to match the new parsing behavior once the spec is merged and the I2S is
complete, and maybe also after the new behavior reaches stable with no
issues.
Spec PR: whatwg/dom#1079
Bug: 40122442, 40228234
Change-Id: Ifbb5ac47a08a8f14489c694649ab5be1f59647ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4251683
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1468337}