Re: [whatwg/dom] Add Scoped Custom Element Registries (PR #1341)

@annevk commented on this pull request.



>  };
 Document includes DocumentOrShadowRoot;
 ShadowRoot includes DocumentOrShadowRoot;
 </pre>
 
-<p class=note>The {{DocumentOrShadowRoot}} mixin is expected to be used by other
+<dl class=domintro>
+ <dt><code><var>registry</var> = <var>documentOrShadowRoot</var> . {{DocumentOrShadowRoot/customElementRegistry}}</code>
+ <dd><p>Returns <var>documentOrShadowRoot</var>'s {{CustomElementRegistry}} object, if any;
+ otherwise null.
+</dl>
+
+<p>The <dfn attribute for=DocumentOrShadowRoot><code>customElementRegistry</code></dfn> getter steps

No, you have to use the `initialize()` API.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1341#discussion_r2002224105
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1341/review/2696615813@github.com>

Received on Wednesday, 19 March 2025 01:13:17 UTC