- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sat, 17 Dec 2005 17:44:53 +0100
- To: www-dom@w3.org
Hi, http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/ defines DOMAttrModified as follows: Occurs after an Attr has been modified on a node. The target node of this event is the parent Element node whose Attr changed. It is expected that string based replacement of an Attr value will be viewed as a modification of the Attr since its identity does not change. Subsequently replacement of the Attr node with a different Attr node is viewed as the removal of the first Attr node and the addition of the second. It's not clear from the document what qualifies as an Attr modification and what does not. It is not clear whether changing e.g. Attr.prefix would trigger the event, or more importantly, whether changing the isId attribute through setIdAttribute et al would trigger it. Other cases would include e.setAttributeNS(null, 'x', e.getAttributeNS(null, 'x')) which would not modify the value but the .specified attribute (if it had a defaulted value before the call). regards, -- 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, 17 December 2005 16:44:41 UTC