I just saw Dimitri's reference to my “Filling slots in shadow” blog posts from
a while back, so I thought I’d follow up with the experiences I’ve had I wrote
it.
First, I remain convinced that it will be very helpful for Shadow DOM to
provide a feature like this that allows for parent and child
Possibly relevant to the conversation: Jan Miksovsky (cc'd) had been
thinking in this problem space for a while, and has a couple of great blog
posts on the topic:
http://blog.quickui.org/2013/11/08/filling-slots-in-shadow/
http://blog.quickui.org/2013/06/11/puzzle-define-html-custom-element-subc
On Sun, Apr 27, 2014 at 2:36 PM, Ryosuke Niwa wrote:
> On Apr 22, 2014, at 10:46 AM, Dimitri Glazkov
> wrote:
>
> BTW, here's a jsbin that implements yield/transclude using existing Shadow
> DOM plumbing:
>
> http://jsbin.com/pacim/1/edit
>
>
> Thanks for an example. That indeed polyfills the A
On Apr 22, 2014, at 10:46 AM, Dimitri Glazkov wrote:
> BTW, here's a jsbin that implements yield/transclude using existing Shadow
> DOM plumbing:
>
> http://jsbin.com/pacim/1/edit
Thanks for an example. That indeed polyfills the API we're proposing in terms
of the currently spec'ed API.
On
On Apr 22, 2014, at 10:13 AM, Dimitri Glazkov wrote:
> On Thu, Apr 17, 2014 at 2:42 AM, Ryosuke Niwa wrote:
> Review: Template Inheritance in the Current Specification
>
> In the current specification, a super class doesn't define any hooks for
> subclasses. Instead, it defines insertion point
ed from shadow element's children including
> nodes inside content element. If we didn't have the content element inside
> my-webkitten-card with "name" and "email" classes, then we would only see
> WebKitten and kit...@webkit.org distributed into my-card's insertion p
*claps for sharing JSBin*
Would love to see more of this on public-webapps when possible :)
On Tue, Apr 22, 2014 at 10:46 AM, Dimitri Glazkov wrote:
> BTW, here's a jsbin that implements yield/transclude using existing Shadow
> DOM plumbing:
>
> http://jsbin.com/pacim/1/edit
>
> :DG<
>
Here's a jsbin that uses the shadow-as-function syntax and does the same
thing:
http://jsbin.com/peqoz/2/edit
:DG<
On Tue, Apr 22, 2014 at 10:46 AM, Dimitri Glazkov wrote:
> BTW, here's a jsbin that implements yield/transclude using existing Shadow
> DOM plumbing:
>
> http://jsbin.com/pacim/1/
BTW, here's a jsbin that implements yield/transclude using existing Shadow
DOM plumbing:
http://jsbin.com/pacim/1/edit
:DG<
't have the content
> element inside my-webkitten-card with "name" and "email" classes, then we
> would only see WebKitten and kit...@webkit.org distributed into my-card's
> insertion points as in:
>
>
>
>
>
> Name:
>
>
On Thu, Apr 17, 2014 at 2:42 AM, Ryosuke Niwa wrote:
> *Review: Template Inheritance in the Current Specification*
>
> In the current specification, a super class doesn't define any hooks for
> subclasses. Instead, it defines insertion points into which nodes from the
> original DOM ("light DOM"
On Apr 21, 2014, at 4:36 PM, William Chen wrote:
> On 4/17/14, 2:42 AM, Ryosuke Niwa wrote:
>> Review: Template Inheritance in the Current Specification
>>
>> In the current specification, a super class doesn't define any hooks for
>> subclasses. Instead, it defines insertion points into which
On 4/17/14, 2:42 AM, Ryosuke Niwa wrote:
> *Review: Template Inheritance in the Current Specification*
>
> In the current specification, a super class doesn't define any hooks
> for subclasses. Instead, it defines insertion points into which nodes
> from the original DOM ("light DOM") is inserted,
Ryosuke Niwa
>>>
>>>
>>> Email:
>>>
>>> rn...@webkit.org
>>> kit...@webkit.org
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>&g
x27;t have the content
> element inside my-webkitten-card with "name" and "email" classes, then we
> would only see WebKitten and kit...@webkit.org distributed into my-card's
> insertion points as in:
>
>
>
>
>
> Name:
>
>
15 matches
Mail list logo