W3C home > Mailing lists > Public > public-speech-api@w3.org > June 2012

Re: Spec should say whether events bubble and are cancelable

From: Dominic Mazzoni <dmazzoni@google.com>
Date: Wed, 20 Jun 2012 07:56:23 -0700
Message-ID: <CAFz-FYyksoqgPrCj=4dQE_jjPK6sX4aA4KmJwHgc41k7Ktni8A@mail.gmail.com>
To: Hans Wennborg <hwennborg@google.com>
Cc: public-speech-api@w3.org
I thought that the objects receiving events are EventTargets, not Nodes, so
what would it even mean for them to bubble?

I'd prefer that they should be cancelable. It should be possible for a web
developer to attach multiple event listeners to the same target and have
one of them fully consume the event so that it doesn't get handled twice.

- Dominic

On Wed, Jun 20, 2012 at 6:34 AM, Hans Wennborg <hwennborg@google.com> wrote:

> Hi all,
>
> The spec draft currently doesn't say anything about the 'bubbles' or
> 'cancelable' properties for events. I think it should say that none of
> the events bubble and none of the events are cancelable.
>
> Thanks,
> Hans
>
>
Received on Wednesday, 20 June 2012 14:56:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 June 2012 14:56:58 GMT