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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 14 Dec 2011 07:47:51 -0800
Message-ID: <CAAWBYDCpp2okb4Oy4dRYBEDeku-+jQUXRzYU716iogV8AsEvRA@mail.gmail.com>
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Dec 14, 2011 at 1:58 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> On Tue, 13 Dec 2011 20:15:33 +0100, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>> There is no ordering for properties to apply; they all apply at the
>> same time.  Any behavior otherwise is a bug.
>
> I didn't mean to imply that there would be some non-zero time interval in
> which only one of them could be observed to apply.
>
> Another way of phrasing it would be... if 'display: none' is supposed to
> keep transitions from starting, and a switch from state A to state B
> involves a possible transition of some property, then at which state(s)
> should 'display' be examined for the aforementioned rule?

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.

~TJ
Received on Wednesday, 14 December 2011 15:48:46 GMT

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