[Webkit-unassigned] [Bug 108079] HTML5 draggable=true elements have white borders while dragging

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 29 01:03:02 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108079





--- Comment #3 from Ian Taylor <ian.b.taylor at gmail.com>  2013-01-29 01:05:00 PST ---
Yes, this does cause undesirable effects in practice... The white border is uncontrollable (I can't turn it off) and other browsers don't have the same behavior.  In my test case here, the bug may not seem that bad, because the padding is even on all sides, but often there will just be padding or margin on one side of an element (sometimes large amounts) and it becomes very distracting.   It's also present if you use border-radius, or box-shadow... there will be white backgrounds behind the rounded corners or underneath shadows, which looks really weird if your site does not use a white background.

I'm trying to build a drag and drop list component using just the HTML 5 drag and drop APIs (instead of mouse events) and this makes it very difficult as if I want the dragging to look consistent across all browsers, I must make certain that I don't use rounded corners, I don't use shadows, and I don't use padding or margin on the dragged elements because all of them will exhibit this bug where the background color of the dragged elements is always white.

-- 
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