W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: [css3-transitions] starting and reversing animations

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 29 Jan 2010 13:01:35 -0600
Message-ID: <dd0fbad1001291101l3f6f92b7s86c801e1549b031@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Simon Fraser <smfr@me.com>, news@terrainformatica.com, www-style <www-style@w3.org>
On Fri, Jan 29, 2010 at 12:57 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Jan 29, 2010, at 9:27 AM, Tab Atkins Jr. wrote:
>> Yeah, setting transition on "div" still applies to all the subsequent
>> rules, per normal cascading.
>
> Exactly. So what is unclear? When the state changes and a new rule with its 'transition' property suddenly applies, then that transition begins (or at least its transition-delay begins).

The issue is that, mentally, transitioning activates *before* the new
rule takes effect, while the element is in a quasi-state halfway
between the two.  A new value is coming in, but it has to wait and
transition gradually instead.

In my head, then, it makes sense that transitions work based on the
original value of the transition property, since the new value hasn't
"arrived" yet.

Nothing wrong with it using the "destination" state instead, but
either way seems pretty reasonable to conclude.

~TJ
Received on Friday, 29 January 2010 19:02:27 GMT

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