NEW 232339
setPointerCapture should maintain the mouse cursor until pointerup or releasePointerCapture
https://bugs.webkit.org/show_bug.cgi?id=232339
Summary setPointerCapture should maintain the mouse cursor until pointerup or release...
Caleb Hearon
Reported 2021-10-26 15:11:51 PDT
Both Firefox and Chrome use the CSS cursor of the element subject to the setPointerCapture call until releasePointerCapture or pointerup, no matter what other elements are under the mouse while it moves. This isn't directly mentioned in the W3C spec, but it does fit with the idea of the element taking over events. Currently in Safari you have to throw up an overlay to keep the cursor the same, and even that doesn't work when the mouse goes out of the browser window. This would be really great to have in Safari as it gives it a smoother/native feel. Test case: https://jsfiddle.net/v4yteo6a/
Attachments
Radar WebKit Bug Importer
Comment 1 2021-11-02 15:12:17 PDT
Note You need to log in before you can comment on or make changes to this bug.