- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 29 Sep 2025 23:14:20 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 September 2025 06:14:24 UTC
annevk left a comment (whatwg/dom#1407) Note by the way that ``` test(() => { const registry = new CustomElementRegistry; const host = document.body.appendChild(document.createElement('div', {customElementRegistry: registry})); const shadowRoot = host.attachShadow({mode: 'closed', customElementRegistry: null}); assert_equals(shadowRoot.customElementRegistry, registry); }, 'attachShadow() should use the shadow host\'s registry when customElementRegistry is null'); ``` also tests this. The main thing that's missing I think is a declarative shadow root setup as the WebKit bug hints at there being an issue there. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1407#issuecomment-3350124263 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1407/3350124263@github.com>
Received on Tuesday, 30 September 2025 06:14:24 UTC