Skip to content

Conversation

@annevk
Copy link
Member

@annevk annevk commented Nov 20, 2025

@annevk annevk merged commit ba9d85e into master Nov 20, 2025
25 checks passed
@annevk annevk deleted the annevk/scer-initialize branch November 20, 2025 15:37
annevk added a commit to whatwg/html that referenced this pull request Nov 21, 2025
CustomElementRegistry's upgrade() wasn't adjusted for scoped registries and we decided that initialize() should upgrade as well (but not into shadow trees as upgrade() does).

The initialize() design here favors a single tree traversal for setting the registry and then upgrading the element.

Tests:
- web-platform-tests/wpt#56034
- web-platform-tests/wpt#56132

Fixes #11858 and fixes #11908.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants