diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/web-animations-api')
-rw-r--r-- | third_party/WebKit/LayoutTests/web-animations-api/player-cancel-finishes.html | 6 | ||||
-rw-r--r-- | third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-finishes.html b/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-finishes.html index 2d46956..0c4d11a 100644 --- a/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-finishes.html +++ b/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-finishes.html @@ -65,7 +65,7 @@ function animate() { var timing = { fill: 'none', iterations: Infinity, - duration: 99 + duration: 9001 }; playerTop = document.getElementById('top').animate(keyframes, timing); @@ -81,10 +81,10 @@ function animate() { playerBottom.onfinish = onFinishBottom; // Finish event does not fire while currentTime is negative. - playerBottom.currentTime = -99; + playerBottom.currentTime = -9001; playerBottom.source = null; - playerTop.currentTime = -0.1; + playerTop.currentTime = 100; playerTop.source = null; if (window.testRunner) { diff --git a/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html b/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html index 14a9622..f3b9e42 100644 --- a/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html +++ b/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html @@ -22,6 +22,7 @@ test(function() { test(function() { var player = document.timeline.play(animation); + assert_equals(getComputedStyle(element).left, '0px'); var source = player.source player.source = null; assert_equals(getComputedStyle(element).left, 'auto'); |