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 21:01:13 +0000
Message-Id: <E1T6pNx-0007Z1-1a@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18732

--- Comment #8 from Olli Pettay <bugs@pettay.fi> 2012-08-29 21:01:12 UTC ---
(In reply to comment #6)
> We could, but they may not do what the user intended. For example:
> 
> this.addEventListener('click', method.bind(this));
> 
> when transplanted, will still be acting on the old element. Is this a Real
> Concern (tm)?
It is

-- 
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 21:01:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 August 2012 21:01:14 GMT