webdriver icon indicating copy to clipboard operation
webdriver copied to clipboard

What is the pointerCancel action used for?

Open mercmobily opened this issue 7 years ago • 6 comments

I haven't been able to understand this by reading the specs, looking online sending actions to the chromedriver.

What is the pointerCancel action used for exactly? When would you perform such an action in a tick?

mercmobily avatar Feb 01 '18 04:02 mercmobily

Also, how is it supposed to be implemented? The spec (both recommendation and working draft for version 2) says "process a pointer cancel action" but includes no details on what that actually entails.

stp-ekioh avatar Jun 27 '23 15:06 stp-ekioh

@jgraham do you remember what this action was planned for? Maybe it's a left-over and that releaseActions is what clients should actually call?

whimboo avatar Jun 27 '23 15:06 whimboo

I assume it's supposed to be https://w3c.github.io/pointerevents/#the-pointercancel-event which is when the pointer isn't going to produce new events e.g. because it was disconnected. I agree that there's currently a hole in the spec, and the fact that this has gone unaddressed for so long does somewhat suggest that this isn't actually something that's needed in practice.

jgraham avatar Sep 19 '23 09:09 jgraham