Re: transitions vs. animations

On Wed, Apr 7, 2010 at 10:50 AM, Chris Marrin <cmarrin@apple.com> wrote:
> Here's the basic problem with Animations. Currently they are triggered by two things. If animation-name changes, the animation starts (unless it changes to none in which case any current animation stops). If play-state changes animation resumes (if set to running) or stops (if set to paused). That provides a range of use cases where a change in style causes an animation to start or stop. But it doesn't provide for use cases where a one-shot animation wants to be retriggered again after it has run (as in Simon's slide+bounce use case). Solving that one problem would enable many more use cases and would bring animations closer to the transition model.

I believe I have a reasonable solution to that case in my proposal elsethread.

~TJ

Received on Wednesday, 7 April 2010 17:58:20 UTC