- From: Jonas Sicking <jonas@sicking.cc>
- Date: Wed, 11 Mar 2009 16:50:14 -0700
- 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 UTC