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 wrote: > On Wed, Jan 18, 2012 at 8:19 PM, Dimitri Glazkov > wrote: >> A typical example would be specifying an insertion point (that's >> element) as child of a : >> >> >>     >>         >>            ... >>         >>     >> >> >> Both and ele

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 wrote: > A typical example would be specifying an insertion point (that's > element) as child of a : > > >     >         >            ... >         >     > > > Both and elements have similar use cases. This doesn't comply with the Degrade Grac

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

2012-01-18 Thread Adam Barth
On Wed, Jan 18, 2012 at 2:17 PM, Dimitri Glazkov wrote: > On Wed, Jan 18, 2012 at 2:00 PM, Adam Barth wrote: >> On Wed, Jan 18, 2012 at 1:55 PM, Dimitri Glazkov >> wrote: >>> On Wed, Jan 18, 2012 at 1:47 PM, Adam Barth wrote: On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov wrote:

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

2012-01-18 Thread Dimitri Glazkov
On Wed, Jan 18, 2012 at 2:00 PM, Adam Barth wrote: > On Wed, Jan 18, 2012 at 1:55 PM, Dimitri Glazkov > wrote: >> On Wed, Jan 18, 2012 at 1:47 PM, Adam Barth wrote: >>> On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov >>> wrote: On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov wro

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 Barth wrote: On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov wrote: On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov wrote: Ah, that's a good question. This also must be specified. It should depend on the par

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 wrote: > On Wed, Jan 18, 2012 at 1:47 PM, Adam Barth wrote: >> On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov >> wrote: >>> On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov >>> wrote: Ah, that's a good question. This also must be specifi

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 wrote: > On Wed, Jan 18, 2012 at 1:29 PM, Dimitri Glazkov > wrote: >> On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov >> wrote: >>> Ah, that's a good question. This also must be specified. It should >>> depend on the parent of the element. If the p

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 wrote: > On Wed, Jan 18, 2012 at 1:14 PM, Dimitri Glazkov > wrote: >> Ah, that's a good question. This also must be specified. It should >> depend on the parent of the element. If the parent is shadow >> root or , then it should make the child o

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 wrote: > Ah, that's a good question. This also must be specified. It should > depend on the parent of the element. If the parent is shadow > root or , then it should make the child of . > Otherwise, it should use foster parenting as usual. Oops,

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 element. If the parent is shadow root or , then it should make the child of . Otherwise, it should use foster parenting as usual. :DG< On Wed, Jan 18, 2012 at 10:58 AM, Ryosuke Niwa wrote: > What if

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. hi What should the content element include in that case? - Ryosuke On Jan 18, 2012 10:19 AM, "Dimitri Glazkov" wrote: > 'sup, Whatwg! > > The new HTML elements in the shadow DOM spec > (http://dvcs.w3.org/hg/webcomponents/raw-file/tip

[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 p