W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css3-animations] display:none, visibility:hidden and animations

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sun, 2 Oct 2011 10:54:50 -0700
Message-Id: <B548A1E4-9F95-4640-A21E-DF743F8F9B45@gmail.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Oct 2, 2011, at 12:48 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Sat, Oct 1, 2011 at 6:19 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> display:none is an interesting question.  My main concern is whether
>> animations should _start_ on display:none elements.  Continuing them on such
>> elements seems fine to me.
>> 
>> Would authors expect an animation to start on a display:none element before
>> it's shown?
> 
> I expect to be able to animate an element to/from display:none, once
> Transitions is fixed to allow animating all properties.

What did you have in mind for that? Treating 'display: none' as if it was roughly equivalent to 'width:0; height:0; box-sizing: border-box'? And how would you transition between any two of the other display values?
Received on Sunday, 2 October 2011 17:55:19 GMT

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