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

annevk left a comment (WICG/webcomponents#1097)

That's because you're creating an element in the null namespace rather than the HTML namespace. Use `const a = d.createElementNS("http://www.w3.org/1999/xhtml", "a-a");` and it'll work.

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

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

Received on Tuesday, 18 February 2025 08:36:35 UTC