Re: transitions vs. animations

On Mar 19, 2010, at 19:30 , Håkon Wium Lie wrote:

> Simon Fraser wrote:
> 
>>> A better reason for having two different specs/property-sets would be
>>> if it makes sense have both on the same element. I.e., are there
>>> any use cases where you would set both a transition and an animation
>>> on the same element?
>> 
>> Yes, you could easily run a transition on one property of an
>> element while animating another, or apply an animation while an
>> element is in the middle of a long transition.
> 
> Could you show an example?


an element that rotates continuously (e.g. a clock hand), that is moved to different places smoothly on user input?  rotation=animation, smooth moving=transition.

David Singer
Multimedia and Software Standards, Apple Inc.

Received on Saturday, 20 March 2010 02:00:26 UTC