Re: Custom Elements: insert/remove callbacks

On 5/7/15 3:43 AM, Anne van Kesteren wrote:
> On Wed, May 6, 2015 at 11:01 PM, Justin Fagnani
> <justinfagnani@google.com> wrote:
>> How are you supposed to tell if one of your ancestors was removed?
>
> Is that a hook builtin elements have today?

In Gecko, yes.  The set of hooks Gecko builtin elements have today is, 
effectively:

1)  This element used to not have a parent and now does.
2)  This element has an ancestor that used to not have a parent and now
     does.
3)  This element used to have a a parent and now does not.
4)  This element has an ancestor that used to have a parent and
     now does not.

-Boris

Received on Thursday, 7 May 2015 20:14:33 UTC