Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 48915d8239475d1ebbcf5936f6b25dccf24659b3
https://github.com/WebKit/WebKit/commit/48915d8239475d1ebbcf5936f6b25dccf24659b3
Author: Anne van Kesteren <[email protected]>
Date: 2026-07-18 (Sat, 18 Jul 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/createElement-reentrant-construction.window-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/createElement-reentrant-construction.window.html
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/createElement-reentrant-construction.window.js
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/constructor-direct-call-fallback-registry.window-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/constructor-direct-call-fallback-registry.window.html
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/constructor-direct-call-fallback-registry.window.js
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/constructor-reentry-createElement.window-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/constructor-reentry-createElement.window.html
A
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/constructor-reentry-createElement.window.js
M
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/w3c-import.log
M LayoutTests/imported/w3c/web-platform-tests/custom-elements/w3c-import.log
M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
M Source/WebCore/bindings/js/JSCustomElementInterface.cpp
M Source/WebCore/bindings/js/JSHTMLElementCustom.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
Log Message:
-----------
Implement the active custom element constructor map
https://bugs.webkit.org/show_bug.cgi?id=319658
Reviewed by Ryosuke Niwa.
Keith Cirkel pointed out that the constructor map as defined did not
quite work and also that WebKit did not implement it.
This aligns WebKit with the proposed changes to DOM and HTML and also
adds some additional test coverage for the gaps:
- https://github.com/whatwg/dom/pull/1494
- https://github.com/whatwg/html/pull/12696
Tests:
imported/w3c/web-platform-tests/custom-elements/createElement-reentrant-construction.window.html
imported/w3c/web-platform-tests/custom-elements/registries/constructor-direct-call-fallback-registry.window.html
imported/w3c/web-platform-tests/custom-elements/registries/constructor-reentry-createElement.window.html
Canonical link: https://commits.webkit.org/317462@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications