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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/responsive-neutral-keyframes.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase 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> 3 <script src="../../resources/testharnessreport.js"></script>
4 <style> 4 <style>
5 @keyframes anim-missing-from { to { width: 200px; height: 200px; } } 5 @keyframes anim-missing-from { to { width: 200px; height: 200px; } }
6 @keyframes anim-missing-to { from { left: 100px; } } 6 @keyframes anim-missing-to { from { left: 100px; } }
7 @keyframes anim-missing-both { 50% { left: 100px; } } 7 @keyframes anim-missing-both { 50% { left: 100px; } }
8 @keyframes anim-missing-compositor { 100% { opacity: 0.0; } } 8 @keyframes anim-missing-compositor { 100% { opacity: 0.0; } }
9 @keyframes anim-missing-ems { from { top: 1em; } } 9 @keyframes anim-missing-ems { from { top: 1em; } }
10 10
11 .target { 11 .target {
12 visibility: hidden; 12 visibility: hidden;
13 position: absolute; 13 position: absolute;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 var async = async_test("Check that running animations with neutral keyframes a re responsive to style changes"); 78 var async = async_test("Check that running animations with neutral keyframes a re responsive to style changes");
79 requestAnimationFrame(function() { 79 requestAnimationFrame(function() {
80 assert_less_than(parseInt(getComputedStyle(target6).width), 200); 80 assert_less_than(parseInt(getComputedStyle(target6).width), 200);
81 requestAnimationFrame(function() { 81 requestAnimationFrame(function() {
82 target6.classList.add('changed'); 82 target6.classList.add('changed');
83 assert_greater_than(parseInt(getComputedStyle(target6).width), 200); 83 assert_greater_than(parseInt(getComputedStyle(target6).width), 200);
84 async.done(); 84 async.done();
85 }); 85 });
86 }); 86 });
87 </script> 87 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698