Re: [webcomponents] HTML Parsing and the <template> element

On Thu, Apr 26, 2012 at 10:38 AM, Brian Kardell <bkardell@gmail.com> wrote:
> Since <template> is a very specialized thing then (inert, boundaries
> and all that), and what some people are referring to as templating
> (that is, string based stuff that may or may not represent DOM, but is
> almost certainly not "pure DOM") is not the intent (IE, we should use
> <script> for the cases discussed instead)... Does it make sense for
> the API to potentially reflect that and the draft to note it?  For
> example... could it either not have an innerHTML property or could
> that innerHTML return (empty string) or something?

Noting it might be useful, but shutting off .innerHTML doesn't make
sense.  It's still a DOM element, and contains HTML.

~TJ

Received on Thursday, 26 April 2012 18:26:45 UTC