[webkit-dev] Enabling support for high-dpi custom mouse cursors
rbyers at chromium.org
Fri Oct 19 13:53:54 PDT 2012
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
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
Any concerns or suggestions? I've got a rough working version of a patch
which I will get up for review next week sometime.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev