Bjoern Hoehrmann wrote: > * 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. Ah, yes, that would make sense. / JonasReceived on Saturday, 25 March 2006 20:58:23 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT