Re: CSS Transitions and height:auto

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 UTC