W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: onclick after removing element from document during onmouseup [ISSUE-180]

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Fri, 13 May 2011 17:32:53 -0700
Message-ID: <BANLkTimp8tp5Ut_-X-wNQDHuc7JN_vFN5Q@mail.gmail.com>
To: Doug Schepers <schepers@w3.org>
Cc: www-dom@w3.org, Ojan Vafai <ojan@chromium.org>, Erik Arvidsson <arv@chromium.org>, Glenn Maynard <glenn@zewt.org>
On Wed, May 11, 2011 at 2:07 PM, Doug Schepers <schepers@w3.org> wrote:

> We have added wording to the spec that states that if the target element is
> removed from the DOM during the mouse events sequence, the remaining events
> of the sequence must not be fired on that element.  We've also added an
> example, e.g. if the element is removed during the mousedown event, no
> events for that element will be dispatched for mouseup, click, dblclick, or
> default activation events.
>
> Please let us know if this satisfies your issue.
>

Thank you very much for promptly updating the
spec<http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-mouseevent-event-order>.
 For your information, I have landed
http://trac.webkit.org/changeset/86461to make WebKit's behavior match
the spec.

- Ryosuke
Received on Saturday, 14 May 2011 00:33:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT