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

Side by Side Diff: third_party/polymer/components/web-animations-js/test/testcases/auto-test-to-animation-checks.js

Issue 592603004: Revert "Polymer elements added to third_party/polymer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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(
4 '.anim',
5 [{'left':'200px'},
6 {'left':'100px'},
7 {'left':'0px'},
8 {'left':'200px'}]);
9 }, "Autogenerated");
10 at(0.4 * 1000, function() {
11 assert_styles(
12 '.anim',
13 [{'left':'180px'},
14 {'left':'120px'},
15 {'left':'60px'},
16 {'left':'240px'}]);
17 }, "Autogenerated");
18 at(0.8 * 1000, function() {
19 assert_styles(
20 '.anim',
21 [{'left':'160px'},
22 {'left':'140px'},
23 {'left':'120px'},
24 {'left':'280px'}]);
25 }, "Autogenerated");
26 at(1.2000000000000002 * 1000, function() {
27 assert_styles(
28 '.anim',
29 [{'left':'140px'},
30 {'left':'160px'},
31 {'left':'180px'},
32 {'left':'320px'}]);
33 }, "Autogenerated");
34 at(1.6 * 1000, function() {
35 assert_styles(
36 '.anim',
37 [{'left':'120px'},
38 {'left':'180px'},
39 {'left':'240px'},
40 {'left':'360px'}]);
41 }, "Autogenerated");
42 at(2 * 1000, function() {
43 assert_styles(
44 '.anim',
45 [{'left':'100px'},
46 {'left':'200px'},
47 {'left':'300px'},
48 {'left':'400px'}]);
49 }, "Autogenerated");
50 at(2.4 * 1000, function() {
51 assert_styles(
52 '.anim',
53 [{'left':'100px'},
54 {'left':'200px'},
55 {'left':'300px'},
56 {'left':'400px'}]);
57 }, "Autogenerated");
58 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698