Re: [WICG/webcomponents] [Scoped Registries] Can disconnected elements can retain their shadowroot via dangling treeroot pointer? (Issue #1078)

@rniwa the constructor functions run though, right? And so `instanceof` checks pass. For example:

```js
customElements.define('foo-bar', class extends HTMLElement {
  constructor() {
    super()
    console.log('FooBar element was constructed')
  }
})
let div = document.createElement('div')
div.innerHTML = '<foo-bar></foo-bar>'
```

I wrote up some WPTs for this here: https://github.com/web-platform-tests/wpt/pull/46170

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

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

Received on Friday, 8 November 2024 16:42:57 UTC