[Webkit-unassigned] [Bug 38703] user-select none should not clear selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 08:46:10 PDT 2021


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

--- Comment #3 from Caleb Hearon <caleb at chearon.net> ---
Based on the "Test" attachment, the original bug looks fixed: clicking on `-webkit-user-select: none` doesn't destroy text selection. But like Neil said, it _does_ destroy selection if the selection is in [contentEditable].

This makes it really difficult to support Safari if you have a WYSIWYG editor and have div-based controls that operate on the selection. You want the selection to stay the same while the user formats it.

Oddly the native <button> passes the test cases in both attachments.

-- 
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/20210420/bdb3e09b/attachment.htm>


More information about the webkit-unassigned mailing list