Re: [pointerevents] gotpointercapture/lostpointercapture might never fire (#354)

The wpt test I am referring to is [pointerevent_pointercapture_in_frame.html](https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/external/wpt/pointerevents/pointerevent_pointercapture_in_frame.html;drc=e5f599f2726269ef8984469488a3e6e1bdd0c7d2;l=144). The scenario where I observed the lostpointercapture event not firing:
- when setPointerCapture is called on pointerdown and releasePointerCapture on first pointermove: specifically when there would be no other pointer event for that frame (test 4: Test mousepointer capture in same-origin frame: Pointerdown with set capture at outerframe, then release on next pointermove). The lostpointercapture event is not lost all the time, in particular it happens under load. 

You are correct that I didn't explain correctly in the original post. I will update to better reflect the situation in the test.

-- 
GitHub Notification of comment by liviutinta
Please view or discuss this issue at https://github.com/w3c/pointerevents/pull/354#issuecomment-796099400 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 10 March 2021 21:01:56 UTC