W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2015

Expected behavior when releasing a button after pointer capture

From: Scott González <scott.gonzalez@gmail.com>
Date: Mon, 27 Apr 2015 12:23:30 -0400
Message-ID: <CAO8i3ieNCiA8nHmetoiWSDiHZiuwMK5u=DSbJN6XHt=TEm0qug@mail.gmail.com>
To: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
If an element has pointer capture enabled and you move out of the element
into another element, then release the button, what is the expected series
of events after releasing the button?

In IE11, you only get a pointerup event on the capturing element. The
pointer must then be moved again in order to get pointermove, poinerover,
and pointerenter on the element that's currently hovered.

The closest scenario I can think of with mouse events is having an element
appear directly under the mouse. I believe Firefox is still the only
browser that fires events when the element becomes visible. See
http://dev-test.nemikor.com/behavior/mouseover-when-element-is-shown.html

Should we document this behavior to ensure it's consistent across browsers?
What's the current behavior in the Firefox implementation?
Received on Monday, 27 April 2015 16:23:57 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 16 May 2015 00:31:59 UTC