gecko/dom/animation
Brian Birtles 825410b2e4 Bug 927349 part 26 - Add a test for compositor animations with a delay; r=nical
This patch adds a test that we correctly incorporate the delay when setting
a layer animation's initialCurrentTime.

The notion of 'current time' on layer animations differs from that on main
thread animations in that it does not incorporate the animation delay.
Instead, we wait until an animation's delay has complete before putting it
on the layer and then it we add without delay.

For animations that are still waiting to start we need to factor this delay into
the initialCurrentTime stored on the layer animation so that when we update
the animation's start time it represents the time *after* the delay has
finished. Previously we failed to do this but no tests failed since all existing
tests for delay rely on DOMWindowUtils.advanceTimeAndRefresh which avoids this
particular code path (since we don't add pending animations to layers while
the refresh driver is under test control).

This patch adds a test for animation delay that does not rely on
DOMWindowUtils.advanceTimeAndRefresh which has been confirmed to fail if we
don't incorporate the delay in our calculation of initialCurrentTime.
2014-12-25 16:28:25 +09:00
..
test Bug 927349 part 26 - Add a test for compositor animations with a delay; r=nical 2014-12-25 16:28:25 +09:00
Animation.cpp Bug 1078122 part 3 - Move animation value building down to the Animation objects; r=dholbert 2014-10-20 13:55:46 +09:00
Animation.h Bug 1078122 part 9 - Move queuing of CSS animation events to CSSAnimationPlayer; r=dholbert 2014-10-20 13:55:47 +09:00
AnimationEffect.cpp Bug 1045993 part 1 - Add AnimationEffect interface and Animation.effect member; r=dbaron, r=bz 2014-08-22 13:42:47 +01:00
AnimationEffect.h Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz. 2014-10-07 11:44:49 +02:00
AnimationPlayer.cpp Bug 927349 part 22 - Make AnimationPlayer wait for animations to be rendered before starting; r=jwatt 2014-12-25 16:28:24 +09:00
AnimationPlayer.h Bug 927349 part 22 - Make AnimationPlayer wait for animations to be rendered before starting; r=jwatt 2014-12-25 16:28:24 +09:00
AnimationTimeline.cpp Bug 927349 part 8 - Fast-forward the timeline before resolving start times; r=jwatt 2014-12-22 09:35:41 +09:00
AnimationTimeline.h Bug 927349 part 19 - Don't add pending animations to layers when their refresh driver is under test control; r=jwatt 2014-12-22 09:35:42 +09:00
AnimationUtils.h Bug 1072299 - Build dom/animation in unified mode; r=baku 2014-09-25 10:11:43 -04:00
moz.build Bug 927349 part 1 - Add PendingPlayerTracker; r=jwatt 2014-12-18 08:42:41 +09:00
PendingPlayerTracker.cpp Bug 927349 part 15 - Schedule a paint when a new pending animation is added; r=jwatt 2014-12-22 09:35:41 +09:00
PendingPlayerTracker.h Bug 927349 part 16 - Do a full reflow when we have pending animations; r=jwatt 2014-12-22 09:35:41 +09:00