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

denis-migdal left a comment (WICG/webcomponents#1097)

Oh, thanks, I didn't know.

It seems we can even do:
```js
const doc = document.implementation.createDocument(
  "http://www.w3.org/1999/xhtml",
  "html",
  null,
);
// document.implementation.createHTMLDocument() also possible, but will create .body properties, etc.

doc.createElement("a-a");
```

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

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

Received on Tuesday, 18 February 2025 09:25:12 UTC