Bug 187656 - An element with both -webkit-user-select: all and -webkit-user-drag: element does not get the nice drag snapshot that you get if you just have -webkit-user-drag: element
Summary: An element with both -webkit-user-select: all and -webkit-user-drag: element ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aditya Keerthi
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-13 13:16 PDT by Sam Weinig
Modified: 2022-02-10 09:39 PST (History)
6 users (show)

See Also:


Attachments
Test case (2.34 KB, text/html)
2018-07-13 13:16 PDT, Sam Weinig
no flags Details
Patch (19.89 KB, patch)
2022-02-09 11:14 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2018-07-13 13:16:23 PDT
Created attachment 344971 [details]
Test case

An element with just -webkit-user-drag: element gets a very nice drag snapshot of the entire element. If you add -webkit-user-select: all, you lose that nice snapshot and just see the text on a transparent background.
Comment 1 Radar WebKit Bug Importer 2018-07-13 13:17:36 PDT
<rdar://problem/42177956>
Comment 2 Aditya Keerthi 2022-02-09 11:14:13 PST
Created attachment 451411 [details]
Patch
Comment 3 Wenson Hsieh 2022-02-09 14:14:43 PST
Comment on attachment 451411 [details]
Patch

r=mews
Comment 4 Aditya Keerthi 2022-02-10 09:24:48 PST
Comment on attachment 451411 [details]
Patch

Thanks for the review!
Comment 5 EWS 2022-02-10 09:38:58 PST
Committed r289544 (247075@main): <https://commits.webkit.org/247075@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451411 [details].