[Webkit-unassigned] [Bug 289869] New: Can not click/tap on elements with user-select: none; to clear existing selections

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 16 03:23:14 PDT 2025


https://bugs.webkit.org/show_bug.cgi?id=289869

            Bug ID: 289869
           Summary: Can not click/tap on elements with user-select: none;
                    to clear existing selections
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ik at rejh.nl

Created attachment 474581

  --> https://bugs.webkit.org/attachment.cgi?id=474581&action=review

Demo of the issue

In Chrome and Safari, clicking/tapping on elements that have `user-select: none;` do not clear selections within other elements.
Firefox behaves as expected, and lets you clear any selection by tapping anywhere.

A demo of the issue is attached, can also be found here:
https://testcase.rejh.nl/testcase-user-select-none-clear-selection/

Reproduce:

1. Go to https://testcase.rejh.nl/testcase-user-select-none-clear-selection/
2. Select some text in a message box (has `user-select: text;`)
3. Tap anywhere (except on a message box) to try and clear the selection

Expected result:
Tapping outside the selection should clear the selection.

Actual result:
The selection is not cleared.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20250316/dd0cd873/attachment.htm>


More information about the webkit-unassigned mailing list