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

Re: transitions vs. animations

From: David Singer <singer@apple.com>
Date: Fri, 19 Mar 2010 21:59:35 -0400
Cc: Simon Fraser <smfr@me.com>, www-style@w3.org
Message-Id: <37D24B59-558F-4349-B135-BED7BA3FB7F9@apple.com>
To: Håkon Wium Lie <howcome@opera.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:43 UTC