| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>Tests for discrete animation</title> | 3 <title>Tests for discrete animation</title> |
| 4 <link rel="help" href="https://w3c.github.io/web-animations/#play-state"> | 4 <link rel="help" href="https://w3c.github.io/web-animations/#play-state"> |
| 5 <script src="../resources/testharness.js"></script> | 5 <script src="../resources/testharness.js"></script> |
| 6 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../resources/testharnessreport.js"></script> |
| 7 <script src="../external/wpt/web-animations/testcommon.js"></script> | 7 <script src="../external/wpt/web-animations/testcommon.js"></script> |
| 8 <body> | 8 <body> |
| 9 <script> | 9 <script> |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 animation.ready.then(() => { | 375 animation.ready.then(() => { |
| 376 t.step(() => { | 376 t.step(() => { |
| 377 assert_equals(animation.playState, 'paused'); | 377 assert_equals(animation.playState, 'paused'); |
| 378 assert_equals(animation.startTime, null); | 378 assert_equals(animation.startTime, null); |
| 379 assert_greater_than_equal(animation.currentTime, animationCurrentTime); | 379 assert_greater_than_equal(animation.currentTime, animationCurrentTime); |
| 380 }); | 380 }); |
| 381 t.done(); | 381 t.done(); |
| 382 }); | 382 }); |
| 383 }, "PlayState is 'running' while pausing a running animation"); | 383 }, "PlayState is 'running' while pausing a running animation"); |
| 384 </script> | 384 </script> |
| OLD | NEW |