Re: [WICG/webcomponents] [scoped-registries] Finding a definition for disconnected elements (Issue #1040)

I think the ideal behavior is that the registry lookup acts similar to `ownerDocument`: the registry used is always the last one that was relevant for the element by virtue of being created in or attached to a root with a registry.

Therefore I'd expect the last 2 instanceof's to be `OtherElement3` (the element defined in `shadowRoot2`) and _not_ `OtherElement1` (the global version).

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

Message ID: <WICG/webcomponents/issues/1040/2489891500@github.com>

Received on Thursday, 21 November 2024 01:42:35 UTC