Re: stopPropagation() or stopImmediatePropagation() called early

The most reasonable thing to do seems that dispatching an event which
has had stopPropagation() or stopImmediatePropagation() called on it
causes no dispatch to happen. I.e. the call to dispatchEvent is a
no-op (other than that if such an event is dispatched again, it raises
an DISPATCH_REQUEST_ERR exception).

/ Jonas

On Thu, Feb 18, 2010 at 3:08 PM, Doug Schepers <schepers@w3.org> wrote:
> Hi, Hallvord-
>
> Hallvord R. M. Steen wrote (on 2/18/10 5:52 PM):
>>
>> Hi,
>> what should happen if event.stopPropagation() or
>> stopImmediatePropagation() are called on an event before dispatch? The
>> spec doesn't seem to cover this.
>
> Thanks for noticing that. I'm happy to specify whatever behavior people
> favor. Any clue what existing implementations do?
>
> Regards-
> -Doug Schepers
> W3C Team Contact, SVG and WebApps WGs
>
>

Received on Friday, 19 February 2010 02:12:25 UTC