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

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 UTC