Re: [whatwg/dom] [ElementInternals] `ElementInternals.shadowRoot` is `null` but `this.shadowRoot` is not (its a `ShadowRoot`) (Issue #1365)

trusktr left a comment (whatwg/dom#1365)

The solution seems to be that the upgrade process should set the root's `available to element internals` to `true` before running a custom element constructor, as the custom element constructor is the first valid place for a user to use `ElementInternals`.

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

Message ID: <whatwg/dom/issues/1365/2781547171@github.com>

Received on Sunday, 6 April 2025 18:26:30 UTC