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

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 UTC