Re: DOM3 Events: range of DOMAttrModified modifications

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 UTC