Bug 267633

Summary: `-webkit-user-select: none` still shows text cursor while hovering text nodes
Product: WebKit Reporter: Samuel Elgozi <samu.elgozi>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: franco_vieira, karlcow, megan_gardner, ntim, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
Bug Depends on:    
Bug Blocks: 208677    

Samuel Elgozi
Reported 2024-01-17 05:39:15 PST
In Chrome and Firefox, if `-webkit-user-select` is set to `none` then hovering over a text node doesn't change the cursor into a text cursor. In Safari 17.2.1 the cursor changes to a text cursor while hovering over text nodes which incorrectly reflects that the text is selectable, and is different from other browsers. You can find a minimal reproduction of the problem here: https://jsfiddle.net/shock/rh7qxL2m/1/
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-24 05:40:13 PST Comment hidden (obsolete)
Tim Nguyen (:ntim)
Comment 2 2026-02-25 00:51:44 PST
Tim Nguyen (:ntim)
Comment 3 2026-02-25 00:52:42 PST
This looks fixed. Not sure when that happened though
Franco Vieira de Souza
Comment 4 2026-08-13 17:56:31 PDT
Could not reproduce from the example on newer Safari, so marking as fixed.
Note You need to log in before you can comment on or make changes to this bug.