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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18732

--- 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