| Index: third_party/WebKit/LayoutTests/web-animations-api/animation-state-changes-negative-playback-rate.html
|
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-state-changes-negative-playback-rate.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-state-changes-negative-playback-rate.html
|
| index b854e163eb4d91a4f1f6bd98612730d28091a671..e6903c75c229f2b69a35dd7d9e2a08ac3a0bde00 100644
|
| --- a/third_party/WebKit/LayoutTests/web-animations-api/animation-state-changes-negative-playback-rate.html
|
| +++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-state-changes-negative-playback-rate.html
|
| @@ -60,7 +60,7 @@ test(function() {
|
| test(function() {
|
| var animation = runningAnimation();
|
| assert_equals(animation.startTime, document.timeline.currentTime - (animation.playbackRate * animation.currentTime));
|
| - assert_equals(animation.currentTime, duration / 2);
|
| + assert_approx_equals(animation.currentTime, duration / 2, 0.000001);
|
| assert_equals(animation.playState, 'running');
|
| }, "running");
|
|
|
| @@ -204,7 +204,7 @@ test(function() {
|
| var animation = runningAnimation();
|
| animation.pause();
|
| assert_unresolved(animation.startTime);
|
| - assert_equals(animation.currentTime, duration / 2);
|
| + assert_approx_equals(animation.currentTime, duration / 2, 0.000001);
|
| assert_equals(animation.playState, 'pending');
|
| }, "running -> pause()");
|
|
|
| @@ -228,7 +228,7 @@ test(function() {
|
| var animation = runningAnimation();
|
| animation.reverse();
|
| assert_unresolved(animation.startTime);
|
| - assert_equals(animation.currentTime, duration / 2);
|
| + assert_approx_equals(animation.currentTime, duration / 2, 0.000001);
|
| assert_equals(animation.playState, 'pending');
|
| }, "running -> reverse()");
|
|
|
|
|