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

Re: animate/transition height to/from auto

From: Tim Leverett <zzzzbov@gmail.com>
Date: Tue, 13 Nov 2012 12:09:20 -0500
Message-ID: <CAOiS3y7BY87jzMj5amc+ctWK2a_ZfHrwjp7TLp0qb1H5++pRcw@mail.gmail.com>
To: 张立理 <otakustay@live.com>
Cc: Behrang Saeedzadeh <behrangsa@gmail.com>, W3C CSS Mailing List <www-style@w3.org>
While I like the concept of this feature, there are some details that would
need to be ironed out.

What happens when a browser is resized and causes a resize or reflow of an
element with an automatic width or height? Would the element change with
the viewport (as per usual), or would it animate as specified in CSS?

☺


On Mon, Nov 12, 2012 at 5:02 AM, 张立理 <otakustay@live.com> wrote:

>  Very useful feature, I've found many cases that require animate width /
> height to auto.
>
> Without this feature, excluding implement animation with javascript, we
> have to specify the dimension of an element, and it normally breaks some
> complex layout, eg. fluent design.
>
>
> Gray Zhang
> -------------------------------------------
> otakustay@live.com
> http://www.otakustay.com (Broken)
>
>
> ------------------------------
> Date: Fri, 9 Nov 2012 11:46:22 +1100
> From: behrangsa@gmail.com
> To: www-style@w3.org
> Subject: animate/transition height to/from auto
>
>
> Hi all,
>
> Any plans to add this to the CSS spec? Right now, even with JS, it is not
> possible to do this elegantly.
>
> Cheers,
> Behrang Saeedzadeh
> http://www.behrang.org
>
Received on Wednesday, 14 November 2012 13:14:15 GMT

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