Sounds great. Adam
On Fri, Oct 19, 2012 at 1:53 PM, Rick Byers <[email protected]> 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 [1] 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> [2], > 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. > > Thanks, > Rick > > [1] http://lists.w3.org/Archives/Public/www-style/2012Jul/0140.html > [2] http://dev.w3.org/csswg/css4-images/#image-values > > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo/webkit-dev > _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev

