Re: [whatwg/dom] attachShadow default custom element registry (Issue #1407)

ja-y-son left a comment (whatwg/dom#1407)

@annevk Reopening this issue as I'm a bit confused by the two of the WPTs behavior on attachShadow default registry.
My understanding is that we now want to use a node's document's registry as the default registry during attachShadow, but in [ShadowRoot-init-declarative.html](https://github.com/ja-y-son/wpt/blob/master/custom-elements/registries/ShadowRoot-init-declarative.html), it seems like we're still somehow holding the assumption that the shadowroot created by attachShadow is using host's registry by default. Am I missing something here?


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

Message ID: <whatwg/dom/issues/1407/3975668792@github.com>

Received on Friday, 27 February 2026 23:15:50 UTC