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

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 UTC