Re: [css3-images] Order of color-stop fixup

On Thu, Aug 11, 2011 at 10:28 PM, Brian Manthos <brianman@microsoft.com>wrote:

>  Correct, you have specified two constraints that are conflicting.  The
> current spec chooses to respect the even distribution over the distribution
> length, since satisfying both is not possible.
>

Well, yes. The point is that either approach breaks a set of constraints and
hence "this approach breaks some constraints" is not in and of itself a
strong argument against one of the two.

Cheers,
    -Shane


> ****
>
> ** **
>
> -Brian****
>
> ** **
>
> *From:* Shane Stephens [mailto:shans@google.com]
> *Sent:* Thursday, August 11, 2011 9:18 PM
> *To:* Brian Manthos
> *Cc:* Tab Atkins Jr.; www-style list
>
> *Subject:* Re: [css3-images] Order of color-stop fixup****
>
>  ** **
>
> ** **
>
> Example 1:****
>
> linear-gradient(red -100%, white, green, black, blue)****
>
> ** **
>
> Example 2:****
>
> linear-gradient(black, red -100%, white, green, black, blue)****
>
> ** **
>
> Example 1 ED 5.4 current:****
>
> linear-gradient(red -100%, white -50%, green 0%, black 50%, blue 100%)****
>
> ** **
>
> Example 2 ED 5.4 current:****
>
> linear-gradient(black 0%, red 0%, white 25%, green 50%, black 75%, blue
> 100%)****
>
> ** **
>
> Why has adding a black stop before my explicitly specified red stop caused
> all of my evenly spaced stops to shuffle up?  I asked for them to be spaced
> between -100% and 100%.****
>
> ** **
>

Received on Friday, 12 August 2011 11:53:53 UTC