W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Mutation events replacement

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Wed, 6 Jul 2011 08:55:13 -0700
Message-ID: <CABNRm62Sc1m=9cE-KMTAAL_AV-SNr4fWzP=28qQR3MT3nmUxkw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps@w3.org
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:33 UTC