Bug 273949 - [iOS, iPadOS, visionOS] Add CSS Cursor Support
Summary: [iOS, iPadOS, visionOS] Add CSS Cursor Support
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Other
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-09 09:17 PDT by Jeffrey Blanz
Modified: 2024-06-24 19:53 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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