- From: Denis Migdal <notifications@github.com>
- Date: Tue, 18 Feb 2025 01:25:08 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 February 2025 09:25:12 UTC
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