CSS Transitions: Difference between revisions

Jump to navigation Jump to search
Line 28: Line 28:
Here's my attempt to map out a set of requirements to implement this feature in Mozilla:
Here's my attempt to map out a set of requirements to implement this feature in Mozilla:


* Computed style value must be updated during the animation
* We need a way to detect when a style change occurs so that we can start an animation
* We need a way to detect when a style change occurs so that we can start an animation
** But we need to ensure that style changes caused by active animations don't trigger new animations.
** But we need to ensure that style changes caused by active animations don't trigger new animations.
* Computed style value must be updated during the animation
* After an animation has completed, the property value should remain at the final animation value
* If a new transition is started in the middle of an existing transition, it should use the current intermediate animating value as the starting point and transition to the new value to match webkit's implementation


== Under-specified Behavior ==
== Under-specified Behavior ==
14

edits

Navigation menu