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

Re: Conflicts between D3E and Web DOM Core

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 13 Mar 2011 10:18:07 -0700
Message-ID: <AANLkTimpSgfpxGez4H9WWTVKSM3MKxLKhuYt9VO_uQnW@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Jacob Rossi <jrossi@microsoft.com>, Olli Pettay <Olli.Pettay@helsinki.fi>, "Olli@pettay.fi" <Olli@pettay.fi>, Glenn Maynard <glenn@zewt.org>, "www-dom@w3.org" <www-dom@w3.org>
On Sat, Mar 12, 2011 at 9:00 AM, Anne van Kesteren <annevk@opera.com> wrote:
> On Fri, 11 Mar 2011 22:45:41 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
>> I agree that it seems very strange to allow uninitialized events to be
>> dispatched.
> What distinguishes an uninitialized event from an initialized event in your
> opinion?

One where the author has explicitly chosen a name for the event.

> A hidden "initEvent() invoked" flag? Or the WebKit model where
> Event.type must be non-empty before it can be dispatched? (I.e. it would be
> helpful if you replied to the email from Glenn Maynard.)

*shrug* that is less important to me. Events with an empty name seems
generally useless so that's fine to use as a flag. An internal flag
would also work.

/ Jonas
Received on Sunday, 13 March 2011 17:19:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC