Re: [pointerevents] Should Element.hasPointerCapture return true when set pointer capture to another element and release it immediately?

Yes. It is.
After B.setPointerCapture A definitely doesn't have the capture. At 
this point hasPointerCapture returns true because B is set in 
pendingPointerCaptureTarget. Having pendingPointerCaptureTarget==B 
allows B to release the pointer capture. Now that B also released the 
capture the pendingPointerCaptureTarget is null and as the result 
hasPointerCapture should return false. 

GitHub Notification of comment by NavidZ
Please view or discuss this issue at
 using your GitHub account

Received on Wednesday, 17 August 2016 14:24:32 UTC