Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: third_party/WebKit/LayoutTests/animations/getAnimations-css.html

Issue 2974853002: Assorted small animation test moves (Closed)
Patch Set: Also rename test referring to 'players' Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script><style> 3 <script src="../resources/testharnessreport.js"></script><style>
4 @keyframes test { 4 @keyframes test {
5 from { opacity: 0; } 5 from { opacity: 0; }
6 to { opacity: 1; } 6 to { opacity: 1; }
7 } 7 }
8 .cssAnimation { 8 .cssAnimation {
9 animation: test 2s; 9 animation: test 2s;
10 } 10 }
(...skipping 19 matching lines...) Expand all
30 animations[0].finish(); 30 animations[0].finish();
31 assert_equals(document.getAnimations().length, 0); 31 assert_equals(document.getAnimations().length, 0);
32 assert_equals(container.getAnimations().length, 0); 32 assert_equals(container.getAnimations().length, 0);
33 assert_equals(element.getAnimations().length, 0); 33 assert_equals(element.getAnimations().length, 0);
34 t.done(); 34 t.done();
35 }); 35 });
36 } 36 }
37 }, 'getAnimations() with cssanimations'); 37 }, 'getAnimations() with cssanimations');
38 38
39 </script> 39 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698