W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 4 May 2012 21:46:46 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1205042141210.9926@ps20323.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 4 May 2012 14:46:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT