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

On 10/2/11 3:48 AM, Tab Atkins Jr. 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.

Then maybe we need a setup for binding animation names that does not 
involve full selector matching and a full CSS cascade.  Otherwise you're 
imposing some significant costs on all display:none users to support an 
animations corner case.

-Boris

Received on Sunday, 2 October 2011 15:55:28 UTC