- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 07 Mar 2016 00:02:54 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 7 March 2016 08:03:29 UTC
@rniwa connectedCallback should also be invoked if custom element's parent got "connected", right? So I think we should enqueue for each _inclusiveDescendant_ mentioned in step 6.2. And we should expand 6.2 to include hosted shadow trees, since it'll be callbacks all the way down. connectedCallback is basically the "insertion steps" callback, limited to "composed documents". (And I think we should therefore pass both _document_ (indeed useful and relevant) and _newAncestor_.) (Similar considerations for disconnectedCallback.) --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/362#issuecomment-193146023
Received on Monday, 7 March 2016 08:03:29 UTC