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

Re: [css-images] color stops transition

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 19 Aug 2013 14:21:48 -0700
Message-ID: <CAAWBYDCmtHKTLt_g3HqGcCUJL-m0caPXaBQtt4019Zi6-5_u_A@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: www-style list <www-style@w3.org>
On Sun, Aug 18, 2013 at 12:29 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> Hi,
>
> There is a post processing step that "orders" color stops if a user specifies them out of order. This creates the actual list of color stops[1].
>
> ""
> The following steps must be applied in order to process the list of color stops
> ""
>
> The paragraph about interpolation says[2]:
>
> ""
> Interpolate each component and color-stop of the gradients independently.
> ""
>
> Is this animation done on the post processed color stops, or the specified color stops?

Sorry, this is unclear in the spec.  The intention is that you process
the stops first, then interpolate the processed positions.  I think
this then requires you to do step 2 of the fixup *again*, as I believe
the stops can get misordered during the transition.

I think we should swap steps 2 and 3 of the fixup, define that step 1,
(current) 3, and 4 are done at computed-value time, and then (current)
step 2 is done at used-value time as a final fixup step.

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

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