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

Re: CSS Transitions and height:auto

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 11 Feb 2010 07:47:09 -0600
Message-ID: <dd0fbad1002110547k7fc97c02n3e5dfeb350bf344@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Thu, Feb 11, 2010 at 6:40 AM, Simon Pieters <simonp@opera.com> wrote:
> For expandable sections it makes perfect sense to transition between
> height:0 and height:auto. However, this doesn't work in current browsers and
> it seems the spec says it shouldn't work.
>
> Please specify how transitioning to and from height:auto should work.

Specifically, the obvious browser-default style for <details> would
require this.  Without this ability browsers will either be unable to
make <details> smoothly open and close, or (possibly more likely?)
will do so in a way that can't be expressed in pure CSS.

~TJ
Received on Thursday, 11 February 2010 13:48:01 GMT

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