- From: Ryosuke Niwa <rniwa@webkit.org>
- Date: Wed, 6 Jul 2011 08:55:13 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: public-webapps@w3.org
Received on Wednesday, 6 July 2011 15:56:09 UTC
On Wed, Jul 6, 2011 at 7:43 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 7/6/11 10:23 AM, John J. Barton wrote: > >> This is another advantage of onModelChanging or 'before' events. All of >> the previous values are available for listeners and the task of >> selecting which ones to process is left to the listener. >> > > Yes, I realize this is useful. This is why Gecko internally has an > AttributeWillChange notification.... > > Again, the problem is preventing malicious onModelChanging listeners from > screwing everyone else over. > I think Boris and I are on the same page here. Adding 'before' events defeats the whole purpose. If we can safely implement 'before' events, then there's a little need to replace DOM mutation events in the first place. - Ryosuke
Received on Wednesday, 6 July 2011 15:56:09 UTC