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

Re: animate/transition height to/from auto

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 14 Nov 2012 08:38:40 -0800
Message-ID: <CAGN7qDAxREsn2buvfO3GMQQ7UG+DA=umszSDk_0O5xyzyixRmg@mail.gmail.com>
To: Tim Leverett <zzzzbov@gmail.com>
Cc: 张立理 <otakustay@live.com>, Behrang Saeedzadeh <behrangsa@gmail.com>, W3C CSS Mailing List <www-style@w3.org>
What happens today with percentage values?
It seems to me that if a computed value is a number, it should be
transitionable.

Rik

On Tue, Nov 13, 2012 at 9:09 AM, Tim Leverett <zzzzbov@gmail.com> wrote:

> 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 16:39:08 GMT

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