W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005

Re: DOM3 Events: range of DOMAttrModified modifications

From: Ray Whitmer <ray@personallegal.net>
Date: Sat, 24 Dec 2005 03:43:07 -0700
Message-Id: <70C2D5B3-0081-444B-9EA3-D7B3C74FF19B@personallegal.net>
Cc: www-dom@w3.org
To: Boris Zbarsky <bzbarsky@MIT.EDU>


On Dec 23, 2005, at 10:47 PM, Boris Zbarsky wrote:

> Ray Whitmer wrote:
>> I think there is no mention of being able to skip the event if the  
>> replacement is a replacement with the current value.
>
> Except then no modification happened, so it makes no sense to fire  
> a modification event...  This is assuming we mean string  
> replacement, not replacement of one Attr node with another.

Yes, you are correct in this case.  In the case of the attribute  
modified, if there was no effective change of the string replacement,  
there is no event.  I was confusing the rules of this event with  
those of node insertion / removal.

Ray
Received on Saturday, 24 December 2005 10:43:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT