Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 937d03d33651ca2f95cfa708132589b9c132004b
https://github.com/WebKit/WebKit/commit/937d03d33651ca2f95cfa708132589b9c132004b
Author: Ryosuke Niwa <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/ShadowRoot-init-customElementRegistry-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/ShadowRoot-init-customElementRegistry.html
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
Log Message:
-----------
attachShadow should use the shadow host's registry when customElementRegistry
is null
https://bugs.webkit.org/show_bug.cgi?id=295262
Reviewed by Anne van Kesteren.
When attachShadow is called with null customElementRegistry, we should fallback
to the shadow host's registry instead of the global registry.
*
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/ShadowRoot-init-customElementRegistry-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/ShadowRoot-init-customElementRegistry.html:
* Source/WebCore/dom/Element.h:
* Source/WebCore/dom/Element.cpp:
Canonical link: https://commits.webkit.org/296896@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes