W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18732] [Custom]: element upgrade algorithm does not preserve attributes, event listeners, references

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Aug 2012 18:27:03 +0000
Message-Id: <E1T6myl-0005eU-LG@jessica.w3.org>
To: public-webapps-bugzilla@w3.org

--- Comment #4 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-29 18:27:03 UTC ---
>From https://bugzilla.mozilla.org/show_bug.cgi?id=783129:

(In reply to Dimitri Glazkov from comment #13)
> Yes, will fix this shortly:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=18732
> My thinking is that we transplant attributes and children only, not event
> listeners.

What's your thinking on how folks can go about baking default event listeners
into custom elements? Is the upgrade event able to be defined on the prototype
so that listeners can be added to all upgraded nodes of a certain type without
a separate code block from the custom element definition?

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 29 August 2012 18:27:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:26 UTC