W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-animations] Change to currentColor means it's no longer animatable?

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 30 Apr 2012 19:03:12 -0400
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Shane Stephens <shans@google.com>, www-style list <www-style@w3.org>
Message-ID: <20120430230312.GA32000@crum.dbaron.org>
On Monday 2012-04-30 15:52 -0700, Tab Atkins Jr. wrote:
> On Mon, Apr 30, 2012 at 3:31 PM, Shane Stephens <shans@google.com> wrote:
> > We already make an exception for animating gradient stops - these actually
> > can't be calculated until used-time due to the need to know the size of the
> > container.
> 
> That one's even worse - it's us actually edging into the "used-time
> transitions" space.  We want to do that eventually, but have been
> resisting it so far (unfortunately ;_;).
> 
> currentColor is only used-time due to a technicality, so it's even
> easier than the gradient case.

I don't think so.  Gradient stop positions that are mixes of lengths
and percents can be represented using calc(), and thus done entirely
at the computed value stage.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 30 April 2012 23:03:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT