On Wed, Jul 6, 2011 at 7:43 AM, Boris Zbarsky <bzbar...@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

Reply via email to