[Webkit-unassigned] [Bug 120783] Custom CSS cursors do not use -webkit-image-set on retina displays

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 15:26:39 PDT 2013


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





--- Comment #6 from Darin Adler <darin at apple.com>  2013-09-11 15:25:51 PST ---
(From update of attachment 211322)
View in context: https://bugs.webkit.org/attachment.cgi?id=211322&action=review

> Source/WebCore/platform/mac/CursorMac.mm:62
> +        RetainPtr<NSImage> intImage = adoptNS([[NSImage alloc] initWithSize:intSize]);

Sure would have been nice to use imageWithSize:flipped:drawingHandler: instead on OS X 10.8 or later.

> Source/WebCore/platform/mac/CursorMac.mm:66
> +        [intImage.get() lockFocus];

Could have used lockFocusFlipped:YES and then the toRect would be slightly less strange.

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