RESOLVED FIXED241419
Allow more characters in element/attribute names and prefixes
https://bugs.webkit.org/show_bug.cgi?id=241419
Summary Allow more characters in element/attribute names and prefixes
Domenic Denicola
Reported 2022-06-08 08:31:55 PDT
See spec changes at https://github.com/whatwg/dom/pull/1079 for: - createAttribute() - setAttribute() - toggleAttribute() - createElement() - createElementNS() - createDocument() - createAttributeNS() - setAttributeNS() and https://github.com/whatwg/html/pull/7991 for updates to "valid custom element name" which impacts: - customElements.define() - customElements.whenDefined() - Whether elements are HTMLElement or HTMLUnknownElement ( https://html.spec.whatwg.org/#elements-in-the-dom:valid-custom-element-name )
Attachments
Radar WebKit Bug Importer
Comment 1 2022-06-15 08:32:12 PDT
Domenic Denicola
Comment 2 2025-07-14 21:34:32 PDT
We found one more instance, the dataset named property setter: https://github.com/whatwg/html/pull/11453
sideshowbarker
Comment 3 2026-01-02 07:10:54 PST
sideshowbarker
Comment 4 2026-01-08 02:52:23 PST
EWS
Comment 5 2026-03-03 05:56:28 PST
Committed 308542@main (14676a639c02): <https://commits.webkit.org/308542@main> Reviewed commits have been landed. Closing PR #56248 and removing active labels.
sideshowbarker
Comment 6 2026-03-03 11:50:55 PST
EWS
Comment 7 2026-03-08 06:22:55 PDT
Committed 308884@main (3c11801b7231): <https://commits.webkit.org/308884@main> Reviewed commits have been landed. Closing PR #56000 and removing active labels.
Karl Dubost
Comment 8 2026-03-08 23:03:00 PDT
*** Bug 309468 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.