Bug 217515
| Summary: | DataTransfer.setImage is not overriding the default dnd avatar if they are children of draggable element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vishnu <vissu_nbkr> |
| Component: | Images | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 13 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.15 | ||
Vishnu
Take a div node which has draggable true is set.
And the image tag or anchor tag is children of this div node
On drag if we try to override its dragimage it is not getting overridden.
This is not happening in Firefox or Chrome.
https://jsbin.com/lavohuyabi/1/edit?html,js,console,output
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Looks like the expected behavior is that when dragging the 150x150 image, the dragimage is the 200x200 one.
I can reproduce in Safari 14 too.
Radar WebKit Bug Importer
<rdar://problem/70161775>