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

Re: [css3-transitions] transitioning to/from auto value

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 27 Apr 2010 11:16:32 -0700
Message-ID: <y2odd0fbad1004271116x79e74ad1t5dfd32c51c529af1@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
On Mon, Apr 26, 2010 at 11:36 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Apr 26, 2010, at 10:56 AM, Simon Fraser <smfr@me.com> wrote:
>
>> The main issue is that, when transitioning to an 'auto' height, the user
>> agent would have to do a layout for the page in its final state in order to
>> determine the destination height of the element. And, of course, that height
>> may depend on all sorts of other style rules, some of which themselves may
>> be animating, and which could also change for other reasons while the
>> transition is running.
>
> I figured that was the issue, but I think that even the transition was based
> on a snapshot of the used values at the beginning or end of the transition,
> that would be huge, and be closer to what JavaScript animation libraries can
> do.

I suspect that this would be sufficient as well.  We definitely need
the ability to transition to auto in some manner, and I think just
doing a single tentative layout to establish an end-point for the
transition will be "good enough".

~TJ
Received on Tuesday, 27 April 2010 18:17:27 GMT

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