W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

Re: Custom Elements: insert/remove callbacks

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 07 May 2015 16:14:03 -0400
Message-ID: <554BC78B.6040509@mit.edu>
To: public-webapps@w3.org
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC