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

Re: [css-variables] are variables animatable?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 20 May 2013 15:23:21 -0700
Message-ID: <CAAWBYDByv0Rq5RA90f1stnO+ncDvCfgsHFEkYDN4mvPizNTo2A@mail.gmail.com>
To: François REMY <francois.remy.dev@outlook.com>
Cc: Cameron McCormack <cam@mcc.id.au>, www-style list <www-style@w3.org>
On Mon, May 20, 2013 at 11:48 AM, François REMY
<francois.remy.dev@outlook.com> wrote:
> ± Yes, they're not animatable.  (Or rather, they fall into the generic bucket of
> ± "flip halfway through the timing function".)  I'll add an Animatable line to the
> ± spec.
> ±
> ± ~TJ
>
> Hum, can we specify they flip immediately by default? Because this is the behavior you want in order to keep variables no-op.
>
> Again:
> @keyframes { from { top: 0px; } to { top: 100px; } }
> @keyframes { from { top: get(var-top); var-top: 0px; } to { var-top: 100px; } }

I've logged an issue about this.

~TJ
Received on Monday, 20 May 2013 22:24:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC