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

annevk left a comment (whatwg/dom#1407)

When I run that in Safari I don't see "Element C" in the Result tab. Doesn't that mean that it's "broken"? I don't really understand though how this is supposed to work though. The `my-x-b` instance's custom element registry will be `registryA`. How would the browser figure out that the actual registry is something else?

I guess what you're saying is that it would be easier for migration if we continued to use the global registry and then elements that did not want to use the global registry would specify an explicit registry in their `attachShadow()` call. But is that going to be the right answer long term as well?

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

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

Received on Tuesday, 30 September 2025 16:32:48 UTC