[whatwg/dom] CustomElementRegistry and adoption (Issue #1390)

annevk created an issue (whatwg/dom#1390)

### What is the issue with the DOM Standard?

As part of some work on WebKit @rniwa and I identified a case where we'd like to make a node's custom element registry mutable. We'd like to do this when a node has a CustomElementRegistry whose is global is true and essentially reset it on adoption and cloning into a different document so it gets the global registry of that document, if any, instead.

This would essentially preserve existing behavior and as such I hope it's not controversial. I'm writing some tests and will figure out the specification changes later.

cc @smaug---- @mfreed7 @foolip @AtkinsSJ @keithamus 

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

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

Received on Wednesday, 16 July 2025 12:40:55 UTC