Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Scoped Custom Element Registries #10869

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

annevk
Copy link
Member

@annevk annevk commented Dec 17, 2024

Please do not comment directly on this PR unless asked. It's a big change and we want to keep it manageable. Use #10854 instead.

DOM PR: whatwg/dom#1341.

Tests: ...

(See WHATWG Working Mode: Changes for more details.)


/custom-elements.html ( diff )
/dom.html ( diff )
/indices.html ( diff )
/infrastructure.html ( diff )
/parsing.html ( diff )
/scripting.html ( diff )

@annevk annevk marked this pull request as ready for review December 19, 2024 09:52
@annevk annevk added addition/proposal New features or enhancements topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: shadow Relates to shadow trees (as defined in DOM) labels Dec 19, 2024
annevk added a commit to whatwg/dom that referenced this pull request Dec 19, 2024
@annevk annevk force-pushed the annevk/scoped-custom-element-registries branch from ff4688a to 3ad2431 Compare December 19, 2024 10:07
@@ -129197,8 +129368,11 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
<li><p>Let <var>is</var> be the value of the "<code data-x="attr-is">is</code>" attribute in the
given token, if such an attribute exists, or null otherwise.</p></li>

<li><p>Let <var>registry</var> be the result of <span data-x="look up a custom element
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This registry also needs to be passed to create an element below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements topic: custom elements Relates to custom elements (as defined in DOM and HTML) topic: shadow Relates to shadow trees (as defined in DOM)
Development

Successfully merging this pull request may close these issues.

1 participant