W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2015

Re: Custom elements "Constructor-Dmitry" baseline proposal

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 18 Aug 2015 11:00:33 +0200
Message-ID: <CADnb78hcxwH=tMQHwNiwi=MTRcAcG77_brt-rKGya1vSufr40w@mail.gmail.com>
To: Domenic Denicola <d@domenic.me>
Cc: public-webapps <public-webapps@w3.org>
Thank you for writing this up. Would be interesting to hear what
Maciej and Ryosuke think.

On Tue, Aug 18, 2015 at 12:19 AM, Domenic Denicola <d@domenic.me> wrote:
> - Use symbols instead of strings for custom element callbacks.

So the way this is done is that they are publicly available on the
prototype. Does that mean behavior can change during the lifetime?
What does that mean for builtin elements that do not have these
callbacks on their prototype?

Also, we probably need to rename registerElement() due to the
different semantics.

Also, you want to sort the attributes in some way before calling
attributeChanged from upgrades, or we must finally agree on that
attributes are sorted in some deterministic way:


I also thought the idea was to pass attached/detached their changed
ancestor and perhaps rename them inserted/removed (and no longer scope
them to document change).

Received on Tuesday, 18 August 2015 09:01:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:57 UTC