Bug 273949

Summary: [iOS, iPadOS, visionOS] Add CSS Cursor Support
Product: WebKit Reporter: Jeffrey Blanz <possum.bracing0v>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Enhancement CC: possum.bracing0v, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   

Description Jeffrey Blanz 2024-05-09 09:17:37 PDT
iOS/iPhones lack the CSS cursor original value events that are listed below.

I believe macOS, iPadOS, and possibly visionOS support the events. Considering visionOS seems to be very similar to iPadOS I am assuming visionOS supports it as well.

The CSS original values are the CSS3 cursor values added in the 2004 spec, including none, context-menu, cell, vertical-text, alias, copy, no-drop, not-allowed, nesw-resize, nwse-resize, col-resize, row-resize and all-scroll.
Comment 1 Radar WebKit Bug Importer 2024-05-16 09:18:15 PDT
<rdar://problem/128203160>
Comment 2 Jeffrey Blanz 2024-06-18 11:36:52 PDT
Combining the following bug reports into one:

- Add CSS Cursor Grab & Grabbing values to iPhones: https://bugs.webkit.org/show_bug.cgi?id=273950

- Add CSS Cursor "Zoom in" and "Zoom out" to iPhones: https://bugs.webkit.org/show_bug.cgi?id=273947

_______________________________________

CSS Cursor only supports the text value on iPadOS. I do not know what visionOS supports, although it is likely the same. I need to test iOS, but it may not even support the text value.

This is a demo. You will see only the text value changes the cursor: https://www.w3schools.com/cssref/playit.php?filename=playcss_cursor&preval=zoom-out

Here is a good list of the values that need supported from Mozilla: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
Comment 3 Jeffrey Blanz 2024-06-24 19:47:53 PDT
Closing this because I am realizing this is not a WebKit issue. Throughout all of iPadOS the cursor only has two properties - Normal and text. This would need to be an iPadOS software change.
Comment 4 Jeffrey Blanz 2024-06-24 19:53:55 PDT
Apple Feedback ID: FB14045991