Re: [whatwg/dom] Make attachShadow() use the global registry by default (PR #1409)

mfreed7 left a comment (whatwg/dom#1409)

> This significantly improves the reuse of custom elements in different registries.
> 
> Tests: [web-platform-tests/wpt#55248](https://github.com/web-platform-tests/wpt/pull/55248).
> 
> Fixes #1407.

Sounds reasonable to me. But I'd love if @dandclark could also take a look.
 
> * [x]  [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: N/A

Quick thing: is there already an MDN issue filed for SCER overall? The [existing page for `attachShadow()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow) doesn't include `ShadowRootInit/customElementRegistry` at all.

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

Message ID: <whatwg/dom/pull/1409/c3373181409@github.com>

Received on Monday, 6 October 2025 18:12:01 UTC