Chrome 143 / Firefox 149 allow more characters in DOM APIs#29217
Open
hamishwillee wants to merge 5 commits intomdn:mainfrom
Open
Chrome 143 / Firefox 149 allow more characters in DOM APIs#29217hamishwillee wants to merge 5 commits intomdn:mainfrom
hamishwillee wants to merge 5 commits intomdn:mainfrom
Conversation
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
hamishwillee
commented
Mar 10, 2026
hamishwillee
commented
Mar 10, 2026
8 tasks
hamishwillee
commented
Mar 15, 2026
8b70db3 to
fe9b650
Compare
caugner
reviewed
Apr 3, 2026
api/CustomElementRegistry.json
Outdated
| }, | ||
| "html_name_validity": { | ||
| "__compat": { | ||
| "description": "Emoji and more Unicode in element names (valid names match HTML parser)", |
Contributor
There was a problem hiding this comment.
Are we intentionally omitting namespaces and attribute names? (Also applies to the other ones.)
Suggested change
| "description": "Emoji and more Unicode in element names (valid names match HTML parser)", | |
| "description": "Emoji and more Unicode in namespace, element, and attribute names (valid names match HTML parser)", |
Contributor
Author
There was a problem hiding this comment.
@caugner No we are not - definitely an omission. I applied the following slight variation as search-replace.
Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)
The namespace we're talking about here is the namespace prefix to an element and attribute name: it isn't a thing on its own which this proposal might imply.
f4ac840 to
bd54d00
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
FF149 adds support for additional characters to be allowed in attribute and element names in https://bugzilla.mozilla.org/show_bug.cgi?id=1773312.
Previously you could only use the chars allowed in XML names - now the rules are less restrictive to allow the same chars as the HTML parser.
Spec update: whatwg/html#7991
Chrome states support in 143:
Webkit added support in https://bugs.webkit.org/show_bug.cgi?id=241419 but I don't think this made it to Safari yet.
Related docs work can be tracked in mdn/content#43218