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

Re: [css-values] interpolate() function

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 2 Dec 2013 14:39:39 -0800
Message-ID: <CAAWBYDB79zEv9wzcSW=hF3Cx94duz_Fh0mjXDtFm+47__kCbtQ@mail.gmail.com>
To: Lea Verou <lea@verou.me>
Cc: www-style list <www-style@w3.org>
On Thu, Nov 28, 2013 at 7:44 PM, Lea Verou <lea@verou.me> wrote:
> I was wondering if we could rename cross-fade() to interpolate() and enable it for any animatable value type. There are many cases where I've needed to do this manually, especially for colours and angles and I presume it wouldn’t be hard to implement, as browsers have to implement the interpolation logic anyway. Furthermore, this could be useful for debugging transitions & animations, as it would enable authors to easily "step into" an animation, whereas right now debugging animations is a huge pain. Also, interpolating values manually is impossible when using variables, so this would help in that as well.

Yeah, I've thought about this before.  I'm in favor of it.

~TJ
Received on Monday, 2 December 2013 22:40:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC