[whatwg] [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

Ian Hickson ian at hixie.ch
Fri May 4 14:46:46 PDT 2012

On Fri, 4 May 2012, Rafael Weinstein wrote:
> This is the current proposal:
> http://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0334.html

I don't really understand the proposal.

How does it relate to the template feature?

What does it do in the case of:

   var frag = document.createDocumentFragment();
   frag.innerHTML = 'bla bla .. 1GB of text .. bla <caption> bla' ?

Why do we imply a tbody if the input is "<tr></tr><div></div>"?

Since you need the context element to know how to initialise the 
tokeniser, how do you find the first tag?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list