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

Re: transitions vs. animations

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 06 Apr 2010 23:55:22 -0700
Cc: Anne van Kesteren <annevk@opera.com>, www-style@w3.org
Message-id: <9C22C0A1-6D2C-4C26-A0DE-5D51A02E5EE8@apple.com>
To: Håkon Wium Lie <howcome@opera.com>

On Apr 5, 2010, at 8:20 AM, Håkon Wium Lie wrote:
>
> When a hovered element becomes a focusee, there will be a 1s
> (reversed!) 'bounce' and a 2s 'sway' movement -- both starting at the
> same time.
>
> So, to conclude, the effects are not tied to "states". Rather, the
> effect trigger when the value of the 'effect' property changes for a
> given element. When this happens, the respective 'on-exit' and
> 'on-entry' effects will be shown.
>
> Makes sense, no?

I think triggering when the "effect" property changes is not as clean  
and convenient as triggering implicitly when the value of an animated  
property changes, as transitions do currently.

Furthermore, it seems that this carries the implication that two  
states with identical entry and exit effects will result in no  
animation whatsoever, even if the values of the animated properties  
are wildly different. That seems like a very unfortunate quirk.

Regards,
Maciej
Received on Wednesday, 7 April 2010 06:55:55 GMT

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