W3C home > Mailing lists > Public > www-style@w3.org > November 2014

[css3-ui] using <image> instead of <uri> in cursor (Issue 44)

From: Florian Rivoal <florian@rivoal.net>
Date: Tue, 25 Nov 2014 14:10:57 +0100
Message-Id: <7F6AB7C3-6A57-4D51-A468-E16C4836E448@rivoal.net>
Cc: Tantek Çelik <tantek@cs.stanford.edu>, rbyers@chromium.org
To: www-style list <www-style@w3.org>
Raised in issue 44: https://wiki.csswg.org/spec/css3-ui#issue44

currently, the cursor property takes its images from a list of <uri>. It should use a list of <image> instead, to get access to the various functional notations defined for this value type. This is backward compatible as <uri> is a valid value of <image>.

Among other things (gradients, image fragments, crossfade...), this gives access to image-set(), which is needed to have high resolution cursor on “retina” displays.

Proposed patch attached.

 - Florian

Received on Tuesday, 25 November 2014 13:11:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC