| Index: LayoutTests/web-animations-api/animationtimeline-consistent.html
|
| diff --git a/LayoutTests/web-animations-api/animationtimeline-consistent.html b/LayoutTests/web-animations-api/animationtimeline-consistent.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..97fa4ef46f3b55bb79e0dfb4b01fb514db943fc3
|
| --- /dev/null
|
| +++ b/LayoutTests/web-animations-api/animationtimeline-consistent.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script>
|
| +var t = async_test('timeline.currentTime should be consistent despite 0 playback rate');
|
| +
|
| +document.timeline.playbackRate = 0;
|
| +document.timeline.currentTime = 0;
|
| +
|
| +requestAnimationFrame(function() {
|
| + setTimeout(function() {
|
| + t.step(function() {
|
| + document.timeline.currentTime = 100;
|
| + assert_approx_equals(document.timeline.currentTime, 100, 0.1);
|
| + });
|
| + t.done();
|
| + });
|
| +});
|
| +</script>
|
|
|