- From: James Browning <notifications@github.com>
- Date: Tue, 06 Apr 2021 15:57:44 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 6 April 2021 22:57:56 UTC
Probably for the same reason as `DocumentFragment`, you can't serialize a `document` either (except via `XMLSerializer` but this forces xhtml rather than html). The [current proposal for declarative shadow dom](https://web.dev/declarative-shadow-dom/#serialization) contains a `.getInnerHTML(...)` function, so even if `.innerHTML` on `DocumentFragment`/`Document` is a web-compat issue, that could potentially be used instead. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/965#issuecomment-814486882
Received on Tuesday, 6 April 2021 22:57:56 UTC