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

In response to https://github.com/WICG/webcomponents/issues/1040#issuecomment-2490100118:

Following the [rule in the explainer](https://github.com/WICG/webcomponents/blob/gh-pages/proposals/Scoped-Custom-Element-Registries.md#finding-a-custom-element-definition): 

```js
someElements[0] instanceof OtherElement2; // Should this evaluate to true? 
// false, this is otherElement, which is OtherElement3
someElements[1] instanceof OtherElement2; // Should this evaluate to true?
// true, since it was created while attached to a root with registry1
```

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

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

Received on Thursday, 21 November 2024 13:40:07 UTC