Re: [w3c/DOM-Parsing] innerHTML needs special case for <template> (#1)

I disagree with the PR: I think insertAdjacentHTML needs to be patched for consistency.  Nothing should add content to the direct children" of a <template> element: logically the children are the children of the document fragment.  The point of the insertAdjacentHTML method is to provide a safer mechanism to innerHTML manipulation; that objective is compromised if insertAdjacentHTML is inconsistent with innerHTML and does not provide access to the template content.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/1#issuecomment-223728764

Received on Saturday, 4 June 2016 01:38:31 UTC