[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 #21 from Olli Pettay <bugs@pettay.fi> 2012-08-30 03:50:31 UTC ---
If we copy event listeners based on that arguments, we should copy also
all the expando properties.
And I don't want either one.
I prefer simple APIs which use as much existing infrastructure as possible.
So, clone() + replace() + whatever defaults the options has is what I'd
prefer.

-- 
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 Thursday, 30 August 2012 03:50:33 UTC