Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4264524b4c6097fea9b173afec3f4c00cd57b213
https://github.com/WebKit/WebKit/commit/4264524b4c6097fea9b173afec3f4c00cd57b213
Author: Alexsander Damaceno <[email protected]>
Date: 2025-02-04 (Tue, 04 Feb 2025)
Changed paths:
A LayoutTests/editing/selection/user-select-none-02-expected.txt
A LayoutTests/editing/selection/user-select-none-02.html
M Source/WebCore/page/EventHandler.cpp
Log Message:
-----------
Avoid text cursor from being applied if `-webkit-user-select: none` is set
https://bugs.webkit.org/show_bug.cgi?id=244944
Reviewed by Tim Nguyen.
The cursor was incorrectly changing to a text pointer even when
`-webkit-user-select: none` was applied.
This is fixed by verifying the `-webkit-user-select` in the event handler and
preventing the text pointer from being selected when `-webkit-user-select:
none` is set.
* Source/WebCore/css/CSSProperties.json:
* LayoutTests/editing/selection/user-select-none-02-expected.txt: Added.
* LayoutTests/editing/selection/user-select-none-02.html: Added.
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::selectCursor):
Canonical link: https://commits.webkit.org/289793@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes