Re: [whatwg/dom] Adopting children of an intentional null shadow root goes wrong (Issue #1429)

ja-y-son left a comment (whatwg/dom#1429)

That makes sense to me. Just to be clear, in the first point you mentioned above we're also assuming the *inclusiveDescendant* being an element right? So that would take us to the following logic:

- If *inclusvieDescendant* is a shadow root, do the current logic
- if *inclusiveDescenant* is an element,
   - If parent is null or document fragment but not shadow root, do the current logic
   - otherwise, use the parent's registry's effective global registry (which is a new concept we need to define that should align with how we define document's effective global registry)

I'll put up a spec change PR for this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1429#issuecomment-3594679827
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1429/3594679827@github.com>

Received on Monday, 1 December 2025 06:05:43 UTC