Re: [whatwg/dom] Allow elements with a null customElementRegistry without Shadow DOM (Issue #1413)

sorvell left a comment (whatwg/dom#1413)

> That sounds like a massive change to what is specified and implemented six months in.

@annevk On the spec side  is there more involved than something like the following? Apologies in advance if I'm over-simplifing or missing something.
1. shadowRoot: remove the keep [custom element registry null](https://dom.spec.whatwg.org/#shadowroot-keep-custom-element-registry-null) flag from ShadowRoot since this would be the default for all nodes.
2. [adopt steps](https://dom.spec.whatwg.org/#concept-node-adopt): ensure 3-3-2 handles the null case as [discussed](https://github.com/whatwg/dom/issues/1413#issuecomment-3390932794).
3. [insert steps](https://dom.spec.whatwg.org/#concept-node-insert): would no longer set custom element registry so remove 7-7-3-1 and 7-7-4-1.
4. [parsing steps](https://html.spec.whatwg.org/#html-fragment-parsing-algorithm): no change needed since step 7 already considers the context's customElementRegistry.

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

Message ID: <whatwg/dom/issues/1413/3394909008@github.com>

Received on Sunday, 12 October 2025 16:52:51 UTC