[Webkit-unassigned] [Bug 79417] Drag image has a background when it shouldn't
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 24 16:16:48 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79417
--- Comment #2 from Richard York <richard at deadmarshes.com> 2012-02-24 16:16:48 PST ---
It's a bug, it should be fixed, in my opinion.
It doesn't look nice at all when you're working in a situation where you don't want it. My test case doesn't represent a great many diverse use scenarios when it comes to drag and drop.
Consider situations where you have something like a file icon in the Mac Finder, where you have an icon at the top and the text label below. With this bug, recreating that in a browser, the browser puts a big, ugly, semi-opaque square white box around the icon and the label, and you have no obvious way to get rid of it.
I took me hours to figure out why there was a background on the drag image. When I originally observed the problem it was in a much more complicated web application, and I had no idea where it was coming from, I thought the webkit devs intentionally put the ugly white box in there. On a hunch, however, I compared my app to another one implementing drag and drop and observed the other app didn't have the ugly white box.
So I went about the tedious process of slowly eliminating various bits of styles until I had isolated the issue.
There is a work-around, and I was lucky to discover that work-around fairly quickly.
These are the kind of things that make web development a nightmare. It is undocumented, unexpected behavior, and I can't imagine that the scenario of implementing drag and drop inside of a positioned element is really so fringe as to justify not addressing the issue.
I certainly don't think it's a high priority issue in any way, but yes, I believe very strongly it is something that should be fixed.
Thank-you for your time.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list