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>

Why shouldn't `insertAdjacentHTML` special-case `<template>`?

---
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#r65877467

Received on Monday, 6 June 2016 11:55:21 UTC