[WICG/webcomponents] [scoped-registries] What does `new` mean for elements in multiple registries? (Issue #1007)

This was [originally raised](https://github.com/WICG/webcomponents/issues/716#issuecomment-369368684) by @matthewp:

```js
class MyElement extends HTMLElement {}
customRegistry.define('my-element', MyElement);
new MyElement();
```

I can't see how the discussion concluded this point. Are elements allowed on multiple registries? What happens with the following?

```js
class MyElement extends HTMLElement {}
customElements.define('my-element', MyElement);
customRegistry1.define('my-element', MyElement);
customRegistry2.define('my-element', MyElement);
new MyElement();
```

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

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

Received on Friday, 21 April 2023 14:28:04 UTC