Bug 187656

Summary: 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
Product: WebKit Reporter: Sam Weinig <sam>
Component: HTML EditingAssignee: Aditya Keerthi <akeerthi>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, hi, megan_gardner, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case
none
Patch none

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].