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

On 12/14/11 10:47 AM, Tab Atkins Jr. wrote:
> Right; I understood your meaning.  My point was that, if
> 'display:none' prevents a transition from starting, then it *always*
> prevents a transition from starting.  Having it as part of the start
> state should suppress everything, because the "is the element
> 'display:none' at this point?" check succeeds.  There is no situation
> where 'display' switches from the start-state to the end-state,
> followed by 'margin' (or anything else) switching from the start-state
> to the end-state.  There's just a big bag of properties that change at
> the same time.

In actual implementations, you can have a situation where "display" 
switches from the start-state to the end-state but 'margin' doesn't do 
anything at all because the computation of its value is lazy (and in 
particular, it had no start-state, and may not have an end-state).

Just fyi.

-Boris

Received on Wednesday, 14 December 2011 18:24:09 UTC