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

Re: animate/transition height to/from auto

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 14 Nov 2012 09:07:26 -0800
Message-ID: <CAAWBYDD7ToPo6f2aTGQ_Ci7xpp1Qz4mF=bROUCqVcPVNy3Swaw@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Tim Leverett <zzzzbov@gmail.com>, 张立理 <otakustay@live.com>, Behrang Saeedzadeh <behrangsa@gmail.com>, W3C CSS Mailing List <www-style@w3.org>
On Wed, Nov 14, 2012 at 8:38 AM, Rik Cabanier <cabanier@gmail.com> wrote:
> What happens today with percentage values?
> It seems to me that if a computed value is a number, it should be
> transitionable.

For width and height, <percentage>s stick around in the computed value
(they don't turn into <length>s until used-value time).  <percentages>
know how to transition between themselves, but not with other values.

Now that calc() is in a CR-level draft, we should probably amend
Transitions to officially use that, to allow transitioning
<percentage> with whatever type the <percentage> is resolved against.

Received on Wednesday, 14 November 2012 17:08:14 UTC

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