WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
222105
Setting the dragImage to an SVG image causes webkit to automatically abort the drag event
https://bugs.webkit.org/show_bug.cgi?id=222105
Summary
Setting the dragImage to an SVG image causes webkit to automatically abort th...
sergen_nurel
Reported
2021-02-18 06:55:22 PST
During the dragstart event, setting the dragImage to an SVG image causes webkit to automatically abort the drag event. To reproduce: <div id="thing" draggable="true">DRAG ME</div> function onDragStart(event){ var testfile = document.createElement("img"); testfile.src = "
https://assets.codepen.io/3/kiwi.svg
"; event.dataTransfer.setDragImage(testfile, 5, 9); } var theThing = document.getElementById('thing'); theThing.addEventListener('dragstart', onDragStart, false);
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-02-25 06:56:12 PST
<
rdar://problem/74742704
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug