Re: [whatwg/dom] Implementing Document.prototype.createHTML (#996)

I would also appreciate a more direct JS API for "parse a fragment in template context". However, I'd expect it to return a DocumentFragment node, not the last direct child node of the fragment.

(btw I think in your example code you likely meant to write `template.content.lastChild` rather than `template.lastChild`.)

-- 
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/996#issuecomment-868960550

Received on Saturday, 26 June 2021 07:12:21 UTC