Re: [w3c/DOM-Parsing] Special case innerHTML for template parsing; note for outerHTML (#12)

> @@ -416,6 +424,13 @@
>        the <a>context object</a>'s <a>next sibling</a>.
>      </dl>
>    </ol>
> +  
> +  <p class=note>No special handling for <code><a>template</a></code> elements is included in the 
> +  above "<code>afterbegin</code>" and "<code>beforeend</code>" cases. Unlike 
> +  <a for="Element">innerHTML</a>, <a for="Element">insertAdjacentHTML</a> will insert the given 
> +  <var>fragment</var> into a <code><a>template</a></code>'s <a>children</a> rather than into its
> +  <a>template content</a>.</p>

While I also find this a bit odd, I checked Chrome, Edge, and Firefox (if you could check Safari, that'd be great!). None of them do any special case handling here. At this point, I'm content to document the existing interoperable behavior.

---
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/pull/12/files/8fdf36849fd89d088f9c238be60e6126d983a1f7#r65925126

Received on Monday, 6 June 2016 16:46:25 UTC