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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 02 Oct 2011 11:54:49 -0400
Message-ID: <4E888949.8080401@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
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 GMT

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