OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="testharness/testharness.js"></script> | 2 <script src="testharness/testharness.js"></script> |
3 <script src="testharness/testharnessreport.js"></script> | 3 <script src="testharness/testharnessreport.js"></script> |
4 <style> | 4 <style> |
5 @keyframes test { | 5 @keyframes test { |
6 from { opacity: 0; } | 6 from { opacity: 0; } |
7 to { opacity: 1; } | 7 to { opacity: 1; } |
8 } | 8 } |
9 .cssAnimation { | 9 .cssAnimation { |
10 animation: test 2s; | 10 animation: test 2s; |
(...skipping 20 matching lines...) Expand all Loading... |
31 players[0].finish(); | 31 players[0].finish(); |
32 assert_equals(document.timeline.getAnimationPlayers().length, 0); | 32 assert_equals(document.timeline.getAnimationPlayers().length, 0); |
33 assert_equals(container.getAnimationPlayers().length, 0); | 33 assert_equals(container.getAnimationPlayers().length, 0); |
34 assert_equals(element.getAnimationPlayers().length, 0); | 34 assert_equals(element.getAnimationPlayers().length, 0); |
35 t.done(); | 35 t.done(); |
36 }); | 36 }); |
37 } | 37 } |
38 }, 'getAnimationPlayers() with cssanimations'); | 38 }, 'getAnimationPlayers() with cssanimations'); |
39 | 39 |
40 </script> | 40 </script> |
OLD | NEW |