UNCONFIRMED Bug 28381
Can't setDragImage when dragging an image element
https://bugs.webkit.org/show_bug.cgi?id=28381
Summary Can't setDragImage when dragging an image element
Francisco Tolmasky
Reported 2009-08-16 23:28:46 PDT
Created attachment 34955 [details] Drag image, you won't get red div, add draggable=true, then you will. When dragging an image element specifically, setDragImage is ignored unless draggable="true" is set explicitly on the element. Every other element allows it as long as a parent has draggable set. FireFox also allows it.
Attachments
Drag image, you won't get red div, add draggable=true, then you will. (425 bytes, text/plain)
2009-08-16 23:28 PDT, Francisco Tolmasky
no flags
Daniel Trebbien
Comment 1 2013-07-24 11:53:13 PDT
This issue was recently fixed in Chrome: http://code.google.com/p/chromium/issues/detail?id=259078 I am seeing this issue in WebKit nightly r153084 built on 24 July 2013.
Ahmad Saleem
Comment 3 2023-04-11 21:26:08 PDT
Using attached test case - into JSFiddle (with DOCTYPE) - https://jsfiddle.net/9ta5w4ok/show In WebKit ToT (262855@main), I can only drag "Google Image" once after that it does not let me drag it (focus getting stuck), while moving red rect is no issue at all. Chrome Canary 114 works fine and you can drag both 'rect' and 'Google' image as much as you want. In case of Firefox Nightly 114, when you drag 'Google' image, you get 'red' div and not 'Google' image. I think it should be 'UI Event' bug rather than 'DOM'. Tagging 'Aditya' for any input.
Note You need to log in before you can comment on or make changes to this bug.