- From: Jayson Chen <notifications@github.com>
- Date: Fri, 09 Jan 2026 15:10:29 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1437/review/3645868621@github.com>
@ja-y-son commented on this pull request.
> - <a for=CustomElementRegistry>is scoped</a> is false, then set
- <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a> to
- <var>document</var>'s <a>effective global custom element registry</a>.
+ <li>
+ <p>If <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a> is null
+ and <var>inclusiveDescendant</var>'s <a for=Element>keep custom element registry null</a>
+ is false; or <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a>'s
+ <a for=CustomElementRegistry>is scoped</a> is false:
+
+ <ol>
+ <li><p>Let <var>registry</var> be null.
+
+ <li><p>If <var>inclusiveDescendant</var>'s <a for=Element>custom element registry</a> is
+ non-null, <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>registry</var> to <var>document</var>'s
I added the definition for exclusive document fragment. Let me know if I captured what you thought correctly.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1437#discussion_r2677887669
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1437/review/3645868621@github.com>
Received on Friday, 9 January 2026 23:10:33 UTC