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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 19 Aug 2013 14:22:31 -0700
Message-ID: <CAAWBYDDP+OKSgQpHwXzUwZLVULgFaz4ga_W6LjpOe3_R+_RZaw@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: www-style list <www-style@w3.org>
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.

~TJ
Received on Monday, 19 August 2013 21:23:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 19 August 2013 21:23:19 UTC