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

Re: Event constructor defaults

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 11 Feb 2013 15:12:23 +0000
Message-ID: <CADnb78imGdYh880cMumM6TverOo=w5QN27_COrzj9BktW2kyHA@mail.gmail.com>
To: Glenn Maynard <glenn@zewt.org>
Cc: www-dom@w3.org
On Mon, Feb 11, 2013 at 2:58 PM, Glenn Maynard <glenn@zewt.org> wrote:
> Unfortunately, this is already implemented in Firefox and Chrome, but
> changing these defaults might still be still web-compatible.

It's not compatible with the initEvent() API however. Not sure why
there would not be a reason to have a uncancellable event. Making
cancelable indicate whether preventDefault() can actually be used
seems like a net positive. And often canceling events has no effect
(certainly with platform events). The non-bubbling will be a non-issue
once we have better event listeners.

Received on Monday, 11 February 2013 15:12:51 UTC

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