To reproduce: 1. On a display with a >1.0 scale factor, go to http://www.webkit.org/ 2. Drag a link The drag image is blurry.
This affects both WebKit1 and WebKit2. WebKit2 will probably need more fixes, though, since the drag image has to be shipped over to the UI process before it's displayed.
<rdar://problem/10093255>
WebKit1's behavior is somewhat different, so it is now covered by bug 67802.
Created attachment 126322 [details] Patch
Committed r107267: <http://trac.webkit.org/changeset/107267>
Comment on attachment 126322 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126322&action=review > Source/WebKit2/UIProcess/API/mac/WKView.mm:2566 > + IntSize size([image size]); > + size.scale(1.0 / [self _intrinsicDeviceScaleFactor]); > + [image setSize:size]; I think you should be using WebPageProxy::deviceScaleFactor instead of -[WKView _intrinsicDeviceScaleFactor]. Otherwise you'll get incorrect behavior when WKPageSetCustomDeviceScaleFactor has been called.
Reopening to add in Adam's suggestion.
Created attachment 126399 [details] Patch
Committed r107307: <http://trac.webkit.org/changeset/107307>