Re: [WICG/webcomponents] [Scoped registry] Clarify relationship with shadow roots (PR #965)

@nolanlawson Sorry, I'm a little confused by your confusion and the statement "custom elements' definitions are not defined by the shadow root attached to them, but instead to the shadow root that contains them".

In this proposal ShadowRoots can be associated with a registry. When they are, elements created in that ShadowRoot via the scoped element creation APIs (`shadowRoot.createElement()`, etc) will use that registry instead of the global registry.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/pull/965#issuecomment-1211261575
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/pull/965/c1211261575@github.com>

Received on Wednesday, 10 August 2022 20:56:14 UTC