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

Side by Side Diff: polymer_0.4.0/bower_components/web-animations-js/test/testcases/auto-test-compositor-checks.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 timing_test(function() { 1 timing_test(function() {
2 at(0 * 1000, function() { 2 at(0 * 1000, function() {
3 assert_styles(".anim",{'x':'0px'}); 3 assert_styles(".anim",{'x':'0px'});
4 assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 0, 0}'}); 4 assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 0, 0}'});
5 }); 5 });
6 at(1 * 1000, function() { 6 at(1 * 1000, function() {
7 assert_styles(".anim",{'x':'133.3px'}); 7 assert_styles(".anim",{'x':'133.3px'});
8 assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 66.67, 66.67}'}); 8 assert_styles(".anim2",{'ctm':'{1, 0, 0, 1, 66.67, 66.67}'});
9 }); 9 });
10 at(2 * 1000, function() { 10 at(2 * 1000, function() {
11 assert_styles(".anim",{'x':'316.7px'}); 11 assert_styles(".anim",{'x':'316.7px'});
12 assert_styles(".anim2",{'ctm':'{0.9239, 0.3827, -0.3827, 0.9239, 156.4, 142. 9}'}); 12 assert_styles(".anim2",{'ctm':'{0.9239, 0.3827, -0.3827, 0.9239, 156.4, 142. 9}'});
13 }); 13 });
14 at(3 * 1000, function() { 14 at(3 * 1000, function() {
15 assert_styles(".anim",{'x':'500px'}); 15 assert_styles(".anim",{'x':'500px'});
16 assert_styles(".anim2",{'ctm':'{0.7071, 0.7071, -0.7071, 0.7071, 235.4, 235. 4}'}); 16 assert_styles(".anim2",{'ctm':'{0.7071, 0.7071, -0.7071, 0.7071, 235.4, 235. 4}'});
17 }); 17 });
18 at(4 * 1000, function() { 18 at(4 * 1000, function() {
19 assert_styles(".anim",{'x':'550px'}); 19 assert_styles(".anim",{'x':'550px'});
20 assert_styles(".anim2",{'ctm':'{0.3827, 0.9239, -0.9239, 0.3827, 228.7, 269. 3}'}); 20 assert_styles(".anim2",{'ctm':'{0.3827, 0.9239, -0.9239, 0.3827, 228.7, 269. 3}'});
21 }); 21 });
22 at(5 * 1000, function() { 22 at(5 * 1000, function() {
23 assert_styles(".anim",{'x':'600px'}); 23 assert_styles(".anim",{'x':'600px'});
24 assert_styles(".anim2",{'ctm':'{0, 1, -1, 0, 200, 300}'}); 24 assert_styles(".anim2",{'ctm':'{0, 1, -1, 0, 200, 300}'});
25 }); 25 });
26 }, "Auto generated tests"); 26 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698