[Webkit-unassigned] [Bug 43449] [chromium] Generate drag images for HTML elements and selections.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 3 17:15:59 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43449
Daniel Cheng <dcheng at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamesr at chromium.org
--- Comment #2 from Daniel Cheng <dcheng at chromium.org> 2010-08-03 17:16:00 PST ---
There's a few issues with this patch.
1) On GTK (and possibly other platforms, since I haven't tested yet), selection text gets rendered with a white text color, so the drag image looks terrible. I fixed this by passing PaintBehaviorForceBlackText, but this is suboptimal as well, since this forces all text to be black.
2) When setting an element as the drag image, the background is also drawn. If you try the test case attached to the Chromium bug, we end up dragging around a long white block around. We don't want (always) want the background. I'm not sure how I can force the renderer to skip painting the background though... the Mac port seems to get around this by scraping pixels directly from the NSView.
--
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