Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b5b7934b22c10c01a7e475e51162816476b3811
      
https://github.com/WebKit/WebKit/commit/4b5b7934b22c10c01a7e475e51162816476b3811
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/scoped-registry-initialize-upgrades-expected.txt
    M Source/WebCore/dom/CustomElementRegistry.cpp

  Log Message:
  -----------
  CustomElementRegistry.prototype.initialize does not upgrade custom element in 
a declarative shadow root
https://bugs.webkit.org/show_bug.cgi?id=319462

Reviewed by Chris Dumez.

The bug was caused by the missing call to didAssociateWithDocument in 
CustomElementRegistry::initialize.

Test: 
imported/w3c/web-platform-tests/custom-elements/registries/scoped-registry-initialize-upgrades.html

* 
LayoutTests/imported/w3c/web-platform-tests/custom-elements/registries/scoped-registry-initialize-upgrades-expected.txt:
* Source/WebCore/dom/CustomElementRegistry.cpp:
(WebCore::CustomElementRegistry::initialize):

Canonical link: https://commits.webkit.org/317252@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to