Chromium Code Reviews

Side by Side Diff: polymer_0.4.0/bower_components/web-animations-js/test/testcases/auto-test-composite-transforms-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.
Jump to:
View unified diff |
OLDNEW
1 timing_test(function() { 1 timing_test(function() {
2 at(0 * 1000, function() { 2 at(0 * 1000, function() {
3 assert_styles(".anim",{'transform':'matrix(1, 0, 0, 1, 0, 0)'}); 3 assert_styles(".anim",{'transform':'matrix(1, 0, 0, 1, 0, 0)'});
4 }); 4 });
5 at(0.4 * 1000, function() { 5 at(0.4 * 1000, function() {
6 assert_styles(".anim", [ 6 assert_styles(".anim", [
7 {'transform':'matrix(1, 0, 0, 1, 40, 0)'}, 7 {'transform':'matrix(1, 0, 0, 1, 40, 0)'},
8 {'transform':'matrix(0.9511, 0.309, -0.309, 0.9511, 0, 0)'}, 8 {'transform':'matrix(0.9511, 0.309, -0.309, 0.9511, 0, 0)'},
9 {'transform':'matrix(0.9511, 0.309, -0.309, 0.9511, 40, 0)'}, 9 {'transform':'matrix(0.9511, 0.309, -0.309, 0.9511, 40, 0)'},
10 {'transform':'matrix(0.9511, 0.309, -0.309, 0.9511, 38.04, 12.36)'}, 10 {'transform':'matrix(0.9511, 0.309, -0.309, 0.9511, 38.04, 12.36)'},
(...skipping 25 matching lines...)
36 }); 36 });
37 at(2 * 1000, function() { 37 at(2 * 1000, function() {
38 assert_styles(".anim", [ 38 assert_styles(".anim", [
39 {'transform':'matrix(1, 0, 0, 1, 200, 0)'}, 39 {'transform':'matrix(1, 0, 0, 1, 200, 0)'},
40 {'transform':'matrix(0, 1, -1, 0, 0, 0)'}, 40 {'transform':'matrix(0, 1, -1, 0, 0, 0)'},
41 {'transform':'matrix(0, 1, -1, 0, 200, 0)'}, 41 {'transform':'matrix(0, 1, -1, 0, 200, 0)'},
42 {'transform':'matrix(0, 1, -1, 0, 0, 200)'}, 42 {'transform':'matrix(0, 1, -1, 0, 0, 200)'},
43 ]); 43 ]);
44 }); 44 });
45 }, "Auto generated tests"); 45 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine