Bug 232339
Summary: | setPointerCapture should maintain the mouse cursor until pointerup or releasePointerCapture | ||
---|---|---|---|
Product: | WebKit | Reporter: | Caleb Hearon <caleb> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Enhancement | CC: | graouts, hi, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Caleb Hearon
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/84949289>