[webkit-dev] Enabling support for high-dpi custom mouse cursors
abarth at webkit.org
Fri Oct 19 14:02:25 PDT 2012
On Fri, Oct 19, 2012 at 1:53 PM, Rick Byers <rbyers at chromium.org> wrote:
> One of the few places WebKit still doesn't support high-DPI images is custom
> 'cursor' CSS rules. I brought this up on www-style awhile back  and the
> consensus was that using image-set was the preferred mechanism. The CSS4
> images draft spec now specifies that cursor can take any <image> ,
> including an image-set.
> I'd like to take the first step by enabling -webkit-image-set support for
> 'cursor' rules on the chromium port (tracked in http://wkb.ug/99493). I
> plan to add an ENABLE(CSS_CURSOR_SCALE) flag which adds a single 'float
> scale' to WebCore::Cursor that specifies the scale factor (in display pixels
> per logical pixel) of the custom image data in a Cursor object. It's
> conceivable that other mechanisms could also use this (for example, we could
> select the most appropriate image from a multi-resolution .cur file).
> Any concerns or suggestions? I've got a rough working version of a patch
> which I will get up for review next week sometime.
>  http://lists.w3.org/Archives/Public/www-style/2012Jul/0140.html
>  http://dev.w3.org/csswg/css4-images/#image-values
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
More information about the webkit-dev