| Index: third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/current-time.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/current-time.html b/third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/current-time.html
|
| index df7228f43f5c67544edc41116232b5be0fdbdd72..7500175435c8421b92e0e82c12a82b08b23d2aa1 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/current-time.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/current-time.html
|
| @@ -61,5 +61,17 @@ test(function(t) {
|
| 'Animation has a unresolved start time');
|
| }, 'The current time is calculated from the timeline time, start time and ' +
|
| 'playback rate');
|
| +
|
| +promise_test(function(t) {
|
| + var animation = createDiv(t).animate(null, 100 * MS_PER_SEC);
|
| + animation.playbackRate = 0;
|
| +
|
| + return animation.ready.then(function() {
|
| + return waitForAnimationFrames(1);
|
| + }).then(function() {
|
| + assert_times_equal(animation.currentTime, 0);
|
| + });
|
| +}, 'The current time does not progress if playback rate is 0');
|
| +
|
| </script>
|
| </body>
|
|
|