- From: Jayson Chen <notifications@github.com>
- Date: Tue, 02 Dec 2025 08:23:31 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1437/review/3531049355@github.com>
@ja-y-son commented on this pull request.
> - <var>document</var>'s <a>effective global custom element registry</a>.
+ <a for=CustomElementRegistry>is scoped</a> is false:
+
+ <ol>
+ <li><p>If <var>inclusiveDescendant</var>'s <a for=tree>parent</a> is null or
+ <var>inclusiveDescendant</var>'s <a for=tree>parent</a> is a {{DocumentFragment}} but not
+ a {{ShadowRoot}}, then set <var>inclusiveDescendant</var>'s
+ <a for=Element>custom element registry</a> to <var>document</var>'s
+ <a for=Document>custom element registry</a>'s
+ <a>effective global custom element registry</a>.
+
+ <li><p>Otherwise, let <var>registry</var> be the result of
+ <a for=/>looking up a custom element registry</a> given <var>inclusiveDescendant</var>'s
+ <a for=tree>parent</a>; set <var>inclusiveDescendant</var>'s
+ <a for=Element>custom element registry</a> to <var>registry</var>'s
+ <a>effective global custom element registry</a>
Updated to break the steps down following the above example.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1437#discussion_r2581935861
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1437/review/3531049355@github.com>
Received on Tuesday, 2 December 2025 16:23:35 UTC