Re: [whatwg/dom] Expose document fragment serialization algorithm (#965)

Hmm I transferred this to whatwg/dom but maybe it really belongs in https://w3c.github.io/DOM-Parsing/, at least until we finish merging that spec into HTML. Sorry about that.

As you say, I have the feeling this has been previously discussed, and maybe there were web compatibility reasons why it hasn't been added. We added `innerHTML` to `ShadowRoot` after all; why did we do that instead of adding it to its base class `DocumentFragment`?

In https://github.com/w3c/DOM-Parsing/issues/21 there's some discussion of the problem of the context element, but I believe that only impacts the setter, not the getter. Maybe we could add a getter to `DocumentFragment`? Or maybe it was just compat issues...

-- 
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-812091488

Received on Thursday, 1 April 2021 18:28:51 UTC