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

Re: [css-images] color stops transition

From: Dirk Schulze <dschulze@adobe.com>
Date: Tue, 3 Sep 2013 03:39:29 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <7C60C2ED-5754-4DE6-9190-7A3020946B6D@adobe.com>

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

> 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.

If you require to order color stops before you interpolate, then you implicitly require to have layout happen at this time as well. To order color stops, you need to know the gradient length.


> 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 Tuesday, 3 September 2013 10:39:54 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:31 UTC