Re: [WICG/webcomponents] Creating non-ugraded defined custom element : `createElement(tagname, {upgrade:false})` (Issue #1097)

annevk left a comment (WICG/webcomponents#1097)

I don't think `HTMLUnknownElement` is ever used for something that has a valid custom element name (and is in the correct namespace)?

That `upgrade()` doesn't work without the correct node document follows from how `upgrade()` is defined today. It's actually a bit surprising that it doesn't use the registry upon which `upgrade()` is invoked but instead tries to find it through the node document. This will work with scoped custom element registries.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1097#issuecomment-2665125907
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1097/2665125907@github.com>

Received on Tuesday, 18 February 2025 09:54:14 UTC