Bug 88745

Summary: Elements nested in display-block parent have no drag image
Product: WebKit Reporter: Trevor Burnham <trevorburnham>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, akeerthi, enrica, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
URL: http://jsfiddle.net/TrevorBurnham/8v5BN/
See Also: https://bugs.webkit.org/show_bug.cgi?id=92439
https://bugs.webkit.org/show_bug.cgi?id=35754

Trevor Burnham
Reported 2012-06-10 20:20:15 PDT
Test case: http://jsfiddle.net/TrevorBurnham/8v5BN/ When the wrapper is display: block, the block nested inside of it (with draggable=true) has a normal "ghost image" when dragged. But when the wrapper is display: inline-block, there is no visible image; just the mouse cursor. (The dragstart event does occur as expected.) This happens even if e.dataTransfer.setDragImage is called from the dragstart event handler. The drag image renders as expected in Firefox.
Attachments
Ahmad Saleem
Comment 1 2022-12-18 05:28:20 PST
I am able to reproduce this bug in Safari 16.2 and STP160 and drag selection does not show any ghost image or anything, it just show the mouse cursor as mentioned in Comment 0. Just wanted to share updated testing result and changing status to "New".
Note You need to log in before you can comment on or make changes to this bug.