On Tue, Feb 24, 2015 at 7:37 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Tue, Feb 24, 2015 at 4:35 PM, Dimitri Glazkov <dglazkov@google.com>
> wrote:
> > Wait, what do you mean by "that is what custom elements provide for
> today.."
> >
> > The entire pattern of template-stamping depends on the fact that custom
> > elements aren't broken when cloning/importing.
>
> There's no hook for cloning, is there? Or is the created callback
> supposed to be invoked? (If it is, that's missing from the
> specification.)
>
There's no special hook for cloning, no. But the created callback is
definitely invoked when cloning. The spec simply says that it's queued
whenever an element is created.
>
>
> --
> https://annevankesteren.nl/
>