W3C home > Mailing lists > Public > www-style@w3.org > September 2013

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Tue, 3 Sep 2013 03:36:11 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <4371083A-644E-4272-808D-D136CB9A15AB@adobe.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC