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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-motion-path-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
(Empty)
1 timing_test(function() {
2 at(0 * 1000, function() {
3 assert_styles("#animTR", {'transform':'matrix(0.9701425001453319, 0.24253562 503633294, -0.24253562503633294, 0.9701425001453319, 387.5, 87.5)'});
4 }, "Check #animTR at t=0ms");
5 at(0 * 1000, function() {
6 assert_styles("#animBL", {'transform':'matrix(0.315770091409682, 0.948835733 6078364, -0.9488357336078364, 0.315770091409682, 87.5, 287.5)'});
7 }, "Check #animBL at t=0ms");
8 at(0 * 1000, function() {
9 assert_styles("#animBR", {'transform':'matrix(0.7992672511833444, 0.60097575 75691558, -0.6009757575691558, 0.7992672511833444, 387.5, 287.5)'});
10 }, "Check #animBR at t=0ms");
11 at(1 * 1000, function() {
12 assert_styles("#animTR", {'transform':'matrix(0.9701425001453319, 0.24253562 503633294, -0.24253562503633294, 0.9701425001453319, 387.5, 87.5)'});
13 }, "Check #animTR at t=1000ms");
14 at(1 * 1000, function() {
15 assert_styles("#animBL", {'transform':'matrix(0.0000000000000000612303176911 1886, -1, 1, 0.00000000000000006123031769111886, 87.5, 237.5)'});
16 }, "Check #animBL at t=1000ms");
17 at(1 * 1000, function() {
18 assert_styles("#animBR", {'transform':'matrix(0.0000000000000000612303176911 1886, -1, 1, 0.00000000000000006123031769111886, 387.5, 237.5)'});
19 }, "Check #animBR at t=1000ms");
20 at(2 * 1000, function() {
21 assert_styles("#animTR", {'transform':'matrix(0.9701425001453319, 0.24253562 503633294, -0.24253562503633294, 0.9701425001453319, 387.5, 87.5)'});
22 }, "Check #animTR at t=2000ms");
23 at(2 * 1000, function() {
24 assert_styles("#animBL", {'transform':'matrix(1, 0, 0, 1, 137.5, 237.5)'});
25 }, "Check #animBL at t=2000ms");
26 at(2 * 1000, function() {
27 assert_styles("#animBR", {'transform':'matrix(1, 0, 0, 1, 437.5, 237.5)'});
28 }, "Check #animBR at t=2000ms");
29 at(3 * 1000, function() {
30 assert_styles("#animTR", {'transform':'matrix(0.0000000000000000612303176911 1886, -1, 1, 0.00000000000000006123031769111886, 387.5, 62.5)'});
31 }, "Check #animTR at t=3000ms");
32 at(3 * 1000, function() {
33 assert_styles("#animBL", {'transform':'matrix(1, 0, 0, 1, 187.5, 237.5)'});
34 }, "Check #animBL at t=3000ms");
35 at(3 * 1000, function() {
36 assert_styles("#animBR", {'transform':'matrix(1, 0, 0, 1, 487.5, 237.5)'});
37 }, "Check #animBR at t=3000ms");
38 at(4 * 1000, function() {
39 assert_styles("#animTR", {'transform':'matrix(0.0000000000000000612303176911 1886, -1, 1, 0.00000000000000006123031769111886, 387.5, 37.5)'});
40 }, "Check #animTR at t=4000ms");
41 at(4 * 1000, function() {
42 assert_styles("#animBL", {'transform':'matrix(0.5753043900207572, 0.81793939 80135964, -0.8179393980135964, 0.5753043900207572, 216.27749633789063, 278.38833 61816406)'});
43 }, "Check #animBL at t=4000ms");
44 at(4 * 1000, function() {
45 assert_styles("#animBR", {'transform':'matrix(0.309, -0.9511, 0.9511, 0.309, 387.5, 287.5)'});
46 }, "Check #animBR at t=4000ms");
47 at(5 * 1000, function() {
48 assert_styles("#animTR", {'transform':'matrix(1, 0, 0, 1, 437.5, 37.5)'});
49 }, "Check #animTR at t=5000ms");
50 at(5 * 1000, function() {
51 assert_styles("#animBL", {'transform':'matrix(0.5742821086196931, 0.81865747 3989775, -0.818657473989775, 0.5742821086196931, 245.05499267578125, 319.2766723 6328125)'});
52 }, "Check #animBL at t=5000ms");
53 at(5 * 1000, function() {
54 assert_styles("#animBR", {'transform':'matrix(0, -1, 1, 0, 387.5, 287.5)'});
55 }, "Check #animBR at t=5000ms");
56 at(6 * 1000, function() {
57 assert_styles("#animTR", {'transform':'matrix(1, 0, 0, 1, 487.5, 37.5)'});
58 }, "Check #animTR at t=6000ms");
59 at(6 * 1000, function() {
60 assert_styles("#animBL", {'transform':'matrix(0.5763239825284185, 0.81722130 85588157, -0.8172213085588157, 0.5763239825284185, 273.8324890136719, 360.165008 5449219)'});
61 }, "Check #animBL at t=6000ms");
62 at(6 * 1000, function() {
63 assert_styles("#animBR", {'transform':'matrix(-0.309, -0.9511, 0.9511, -0.30 9, 387.5, 287.5)'});
64 }, "Check #animBR at t=6000ms");
65 at(7 * 1000, function() {
66 assert_styles("#animTR", {'transform':'matrix(0.5742821086196931, 0.81865747 3989775, -0.818657473989775, 0.5742821086196931, 530.666259765625, 98.8325042724 6094)'});
67 }, "Check #animTR at t=7000ms");
68 at(7 * 1000, function() {
69 assert_styles("#animBL", {'transform':'matrix(-0.9318041877673755, -0.362961 36937583534, 0.36296136937583534, -0.9318041877673755, 227.24935913085938, 341.9 98779296875)'});
70 }, "Check #animBL at t=7000ms");
71 at(7 * 1000, function() {
72 assert_styles("#animBR", {'transform':'matrix(-0.931197578528315, -0.3645148 415949653, 0.3645148415949653, -0.931197578528315, 527.2493896484375, 341.998779 296875)'});
73 }, "Check #animBR at t=7000ms");
74 at(8 * 1000, function() {
75 assert_styles("#animTR", {'transform':'matrix(0.5742821086196931, 0.81865747 3989775, -0.818657473989775, 0.5742821086196931, 573.83251953125, 160.1650085449 2188)'});
76 }, "Check #animTR at t=8000ms");
77 at(8 * 1000, function() {
78 assert_styles("#animBL", {'transform':'matrix(-0.932004671541296, -0.3624462 6115494827, 0.36244626115494827, -0.932004671541296, 180.66622924804688, 323.832 51953125)'});
79 }, "Check #animBL at t=8000ms");
80 at(8 * 1000, function() {
81 assert_styles("#animBR", {'transform':'matrix(-0.932004671541296, -0.3624462 6115494827, 0.36244626115494827, -0.932004671541296, 480.6662292480469, 323.8325 1953125)'});
82 }, "Check #animBR at t=8000ms");
83 at(9 * 1000, function() {
84 assert_styles("#animTR", {'transform':'matrix(-0.932004671541296, -0.3624462 6115494827, 0.36244626115494827, -0.932004671541296, 480.6662292480469, 123.8325 1953125)'});
85 }, "Check #animTR at t=9000ms");
86 at(9 * 1000, function() {
87 assert_styles("#animBL", {'transform':'matrix(-0.9318041877673755, -0.362961 36937583534, 0.36296136937583534, -0.9318041877673755, 134.08311462402344, 305.6 66259765625)'});
88 }, "Check #animBL at t=9000ms");
89 at(9 * 1000, function() {
90 assert_styles("#animBR", {'transform':'matrix(-0.9316028474785737, -0.363477 8322949191, 0.3634778322949191, -0.9316028474785737, 434.0831298828125, 305.6662 59765625)'});
91 }, "Check #animBR at t=9000ms");
92 at(10 * 1000, function() {
93 assert_styles("#animTR", {'transform':'matrix(0.9701425001453319, 0.24253562 503633294, -0.24253562503633294, 0.9701425001453319, 387.5, 87.5)'});
94 }, "Check #animTR at t=10000ms");
95 at(10 * 1000, function() {
96 assert_styles("#animBL", {'transform':'matrix(0.315770091409682, 0.948835733 6078364, -0.9488357336078364, 0.315770091409682, 87.5, 287.5)'});
97 }, "Check #animBL at t=10000ms");
98 at(10 * 1000, function() {
99 assert_styles("#animBR", {'transform':'matrix(0.7992672511833444, 0.60097575 75691558, -0.6009757575691558, 0.7992672511833444, 387.5, 287.5)'});
100 }, "Check #animBR at t=10000ms");
101 at(11 * 1000, function() {
102 assert_styles("#animTR", {'transform':'matrix(0.9701425001453319, 0.24253562 503633294, -0.24253562503633294, 0.9701425001453319, 387.5, 87.5)'});
103 }, "Check #animTR at t=11000ms");
104 at(11 * 1000, function() {
105 assert_styles("#animBL", {'transform':'matrix(0.0000000000000000612303176911 1886, -1, 1, 0.00000000000000006123031769111886, 87.5, 237.5)'});
106 }, "Check #animBL at t=11000ms");
107 at(11 * 1000, function() {
108 assert_styles("#animBR", {'transform':'matrix(0.0000000000000000612303176911 1886, -1, 1, 0.00000000000000006123031769111886, 387.5, 237.5)'});
109 }, "Check #animBR at t=11000ms");
110 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698