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

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

From: Florian Rivoal <florian@rivoal.net>
Date: Wed, 26 Nov 2014 13:31:17 +0100
Cc: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>, Tantek Çelik <tantek@cs.stanford.edu>
Message-Id: <EDFA532B-021D-4C4E-A11D-AA611B4943F3@rivoal.net>
To: Rick Byers <rbyers@chromium.org>

> On 25 Nov 2014, at 20:37, Rick Byers <rbyers@chromium.org> wrote:
> 
> On Tue, Nov 25, 2014 at 12:55 PM, Dirk Schulze <dschulze@adobe.com <mailto:dschulze@adobe.com>> wrote:
> 
> On Nov 25, 2014, at 2:10 PM, Florian Rivoal <florian@rivoal.net <mailto:florian@rivoal.net>> wrote:
> 
> > Raised in issue 44: https://wiki.csswg.org/spec/css3-ui#issue44 <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>.
> 
> I agree for CSS UI level 4. As you said, <image> is backward compatible. However, I am not so sure if linear/radial gradients and all other <image> values are supported in all browsers. My suggestion is to change it in the next level.
> 
> Right.  Blink (and I believe still WebKit) currently support only <https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp&q=file:WebKit%20file:parser%20cursor&sq=package:chromium&type=cs&l=628> image-set.

Or we can do like css-backgrounds-3 did:

http://dev.w3.org/csswg/css-backgrounds-3/#value-types <http://dev.w3.org/csswg/css-backgrounds-3/#value-types>

Which allows people who want to get ahead to do so by combining specs, while not making it a conformance breaking things to only support the <uri> subset of <image>.

 - Florian
Received on Wednesday, 26 November 2014 12:31:42 UTC

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