Re: [css-images] order of color-stops

On Aug 19, 2013, at 11:22 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Sun, Aug 18, 2013 at 12:13 AM, Dirk Schulze <dschulze@adobe.com> wrote:
>> The specification says[1]:
>> 
>> ""
>> Color stops must be specified in order.
>> ""
>> 
>> This suggests that the CSS Parser must refuse the gradient if the specified color stops are not in order. Later on in the same subsection:
>> 
>> ""
>> If a color stop has a position that is less than the specified position of any color stop before it in the list, set its position to be equal to the largest specified position of any color stop before it.
>> ""
>> 
>> So the color stops can be out of order. It is also implemented that way.
>> 
>> May be the first quoted sentence should be removed. The paragraph still works without this sentence.
> 
> There is no UA-required invalidation in that sentence, so it doesn't
> apply to UAs.  It's an authoring conformance criteria.

It is not a note either. Even if there is no must, it is not clear who it concerns. In doubt I would assume the UA.

Greetings,
Dirk

> 
> ~TJ

Received on Tuesday, 3 September 2013 10:36:36 UTC