WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
9960
Event.dataTransfer.setDragImage doesn't work for child elements
https://bugs.webkit.org/show_bug.cgi?id=9960
Summary
Event.dataTransfer.setDragImage doesn't work for child elements
Jeff Watkins
Reported
2006-07-16 14:02:14 PDT
In an ondragstart handler, calling setDragImage with a child element results in an empty element being dragged around.
Attachments
Test case showing empty element during drag.
(1.13 KB, text/html)
2006-07-16 14:04 PDT
,
Jeff Watkins
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jeff Watkins
Comment 1
2006-07-16 14:04:37 PDT
Created
attachment 9503
[details]
Test case showing empty element during drag. This is a sample HTML file that demonstrates the problem. Of course, it's always possible I'm insane and not calling things correctly. To reproduce: click on the empty area beside either Line 1 or Line 2 and hold, then drag. You should see an empty yellow div as you're dragging around.
Jeff Watkins
Comment 2
2006-07-16 14:10:21 PDT
(In reply to
comment #1
)
> To reproduce: click on the empty area beside either Line 1 or Line 2 and hold, > then drag. You should see an empty yellow div as you're dragging around.
Um... that should be a _red_ div.
Alexey Proskuryakov
Comment 3
2006-07-17 04:43:24 PDT
For another example that looks similar, see
bug 5054
.
Brent Fulgham
Comment 4
2022-07-06 14:34:14 PDT
I can't see an empty yellow (or red) div as I drag on any of Safari, Chrome, or Firefox. Not sure if this is still an issue, or if the test is out of date.
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