Re: [whatwg/dom] custom element registry mutability in an element (Issue #1414)

sorvell left a comment (whatwg/dom#1414)

To clarify point 2 above, we may want to add a specific point that an element with a [custom element state](https://dom.spec.whatwg.org/#concept-element-custom-element-state) that is *not* `undefined` or `uncustomized` should never mutate its `customElementRegistry`.

Doing so would result in an element potentially having a different `customElementRegistry` from the one including the definition that upgraded it. That seems very confusing and hard to reason about.

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

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

Received on Friday, 10 October 2025 00:08:51 UTC