W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css4-images] repeating-conic-gradient was (First draft of css4-images, feedback requested)

From: Alan Gresley <alan@css-class.com>
Date: Thu, 09 Aug 2012 22:40:45 +1000
Message-ID: <5023AFCD.9030709@css-class.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 7/08/2012 10:02 AM, Tab Atkins Jr. wrote:

> * Added conic-gradient() function

Liking very much. About repeating conic gradients. What happens with the 
interpolation of color when angles similar to below are given?

repeating-conic-gradient(white 0deg, red 100deg)

Once it makes it way around and back to 360 degrees you will have one 
uneven span between two color stops (the last possible one and the first 
one). Like so.

white    0deg
red    100deg
white  200deg
red    300deg
white  400deg  <-- outside of possible range


The same would apply to values like 0% being followed by 30%.

white     0%
red      30%
white    60%
red      90%
white    120%  <-- outside of possible range


-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/
Received on Thursday, 9 August 2012 12:41:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT