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

Re: Mutation events

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 11 Mar 2009 16:50:14 -0700
Message-ID: <49B84E36.5040007@sicking.cc>
To: www-dom@w3.org
Cameron McCormack wrote:
> Boris Zbarsky:
>> 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).
> 
> Could a solution to this be to allow listeners to be registered
> (somehow; the DOM Events model doesn’t support this at the moment) for
> particular attributes?

That would help with modifications to other attributes, sure, but it 
wouldn't help with modifications to the attribute for which there are 
listeners.

It also wouldn't help with any other DOM mutations (e.g. inserting and 
removing children).

/ Jonas
Received on Wednesday, 11 March 2009 23:52:41 GMT

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