[Webkit-unassigned] [Bug 232339] New: setPointerCapture should maintain the mouse cursor until pointerup or releasePointerCapture
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 26 15:11:51 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=232339
Bug ID: 232339
Summary: setPointerCapture should maintain the mouse cursor
until pointerup or releasePointerCapture
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Enhancement
Priority: P2
Component: UI Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: caleb at chearon.net
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/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211026/9408fdd6/attachment.htm>
More information about the webkit-unassigned
mailing list