Bug 88745
| Summary: | Elements nested in display-block parent have no drag image | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Trevor Burnham <trevorburnham> |
| Component: | HTML Editing | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
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".