- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sat, 25 Mar 2006 21:42:26 +0100
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Web APIs WG <public-webapi@w3.org>
* Jonas Sicking wrote: >When changing the prefix of an attribute, we currently unset the >attribute and then reset it with a different prefix. Both the removing >and setting will send out a mutation event. However, I'm not very happy >with this behaviour and I don't think this is what the spec should >replicate (and I plan to fix this in future versions of moz). >What would make most sense is to just send out a single event when the >old and the new value is the same, or not send out an event at all. I >don't have a strong preference. As in http://lists.w3.org/Archives/Public/www-dom/2005OctDec/0117 my current thinking is that changing .prefix also changes .nodeName and you'd then get a DOMAttributeNameChanged event. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Saturday, 25 March 2006 20:42:23 UTC