W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2009

Re: Mutation events

From: Sergey Ilinsky <castonet@yahoo.co.uk>
Date: Thu, 12 Mar 2009 00:43:09 +0100
Message-ID: <49B84C8D.4070302@yahoo.co.uk>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-dom@w3.org
Boris Zbarsky wrote:
> Right.  Olli is talking about the slowdown when an operation there is 
> a listener for happens.  So if you're listening for DOMAttrModified, 
> any attribute change (including foo.style.* changes).
> -Boris
The sample scenario you provided might not be correct. I would argue 
that changes made to foo.style object should necessarily lead to the 
foo@style attribute value change, similarly to input.value property not 
leading to the change of input@value attribute etc. The attribute unless 
modified by the means of DOM methods (such as removeAttributeNode, 
setAttributeNS etc. that will actually lead to a dispatch of 
DOMAttrModified) should preserve its value observed from markup.

Sergey Ilinsky/
Received on Wednesday, 11 March 2009 23:43:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:14 UTC