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

Re: [css3-transitions] Transitions from display:none

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 14 Dec 2011 14:00:56 -0500
Message-ID: <4EE8F268.6070204@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style@w3.org
On 12/14/11 1:49 PM, Tab Atkins Jr. wrote:
> Yup, which is a good reason why Transitions should act like Animations
> and not start if the start-state was display:none.

My point is that the not-computing behavior may not be limited to 
display:none.

Again, nothing in the spec currently says when styles are actually 
computed.  Transition starts depend on changes to computed style, so 
transitions can only start if the style changes after the first time 
it's computed.

If we seriously wanted to define this somehow, we would need to define 
_exactly_ when styles are computed.  Doing this and getting UA vendors 
to agree to the definition could be exciting.

-Boris
Received on Wednesday, 14 December 2011 19:01:32 GMT

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