Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-20 Thread Henri Sivonen
On Wed, Jan 18, 2012 at 8:19 PM, Dimitri Glazkov dglaz...@chromium.org wrote: A typical example would be specifying an insertion point (that's content element) as child of a table: table    content        tr            ...        /tr    /content /table Both shadow and template elements

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-20 Thread Dimitri Glazkov
On Fri, Jan 20, 2012 at 7:03 AM, Henri Sivonen hsivo...@iki.fi wrote: On Wed, Jan 18, 2012 at 8:19 PM, Dimitri Glazkov dglaz...@chromium.org wrote: A typical example would be specifying an insertion point (that's content element) as child of a table: table    content        tr            

[whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Dimitri Glazkov
'sup, Whatwg! The new HTML elements in the shadow DOM spec (http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html) and the nascent HTML templates spec (see it all explained here: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html) require tweaking of the HTML

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Ryosuke Niwa
What if content wrapped elements ignored by the parser. e.g. contenttrhi/tr/content What should the content element include in that case? - Ryosuke On Jan 18, 2012 10:19 AM, Dimitri Glazkov dglaz...@chromium.org wrote: 'sup, Whatwg! The new HTML elements in the shadow DOM spec

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Dimitri Glazkov
Ah, that's a good question. This also must be specified. It should depend on the parent of the content element. If the parent is shadow root or table, then it should make tr the child of content. Otherwise, it should use foster parenting as usual. :DG On Wed, Jan 18, 2012 at 10:58 AM, Ryosuke

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Dimitri Glazkov
On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov dglaz...@chromium.org wrote: Ah, that's a good question. This also must be specified. It should depend on the parent of the content element. If the parent is shadow root or table, then it should make tr the child of content. Otherwise, it should

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Adam Barth
On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov dglaz...@chromium.org wrote: On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov dglaz...@chromium.org wrote: Ah, that's a good question. This also must be specified. It should depend on the parent of the content element. If the parent is shadow

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Dimitri Glazkov
On Wed, Jan 18, 2012 at 1:47 PM, Adam Barth w...@adambarth.com wrote: On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov dglaz...@chromium.org wrote: On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov dglaz...@chromium.org wrote: Ah, that's a good question. This also must be specified. It

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Adam Barth
On Wed, Jan 18, 2012 at 1:55 PM, Dimitri Glazkov dglaz...@chromium.org wrote: On Wed, Jan 18, 2012 at 1:47 PM, Adam Barth w...@adambarth.com wrote: On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov dglaz...@chromium.org wrote: On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov

Re: [whatwg] Augmenting HTML parser to recognize new elements

2012-01-18 Thread Julian Reschke
On 2012-01-18 22:55, Dimitri Glazkov wrote: On Wed, Jan 18, 2012 at 1:47 PM, Adam Barthw...@adambarth.com wrote: On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkovdglaz...@chromium.org wrote: On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkovdglaz...@chromium.org wrote: Ah, that's a good