mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
855752164f
This patch re-uses Animation::mSequenceNum to store the index of CSS animations within their corresponding animation-name property. When the animation is removed from an animation-name property it reverts to using the default animation composite order. This patch also updates Animation::DoCancel to call UpdateTiming instead of UpdateEffect. This is because UpdateTiming is responsible for updating the sequence number (when custom composite order is not in effect). When we remove an animation from animation-name it will be cancelled and at that point we expect its sequence number to be cleared which will only happen if UpdateTiming gets called. --HG-- extra : commitid : 2KrTezItH3q extra : rebase_source : 50de87465deef85558ca50de5e6286f7b5603051 |
||
---|---|---|
.. | ||
test | ||
Animation.cpp | ||
Animation.h | ||
AnimationEffectReadOnly.cpp | ||
AnimationEffectReadOnly.h | ||
AnimationTimeline.cpp | ||
AnimationTimeline.h | ||
AnimationUtils.h | ||
DocumentTimeline.cpp | ||
DocumentTimeline.h | ||
KeyframeEffect.cpp | ||
KeyframeEffect.h | ||
moz.build | ||
PendingAnimationTracker.cpp | ||
PendingAnimationTracker.h |