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

Side by Side Diff: pkg/polymer/lib/elements/web-animations-js/test/testcases/auto-test-pause-checks.js

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 timing_test(function() {
2 at(0, function() {
3 assert_styles(
4 '.anim',
5 [{'left':'100px'},
6 {'left':'100px'},
7 {'left':'0px'},
8 {'left':'0px'}]);
9 }, "Autogenerated");
10
11 //pause
12 at(1, function() {
13 assert_styles(
14 '.anim',
15 [{'left':'138.46153259277344px'},
16 {'left':'140px'},
17 {'left':'0px'},
18 {'left':'0px'}]);
19 }, "Autogenerated");
20 at(2, function() {
21 assert_styles(
22 '.anim',
23 [{'left':'138.46153259277344px'},
24 {'left':'140px'},
25 {'left':'0px'},
26 {'left':'0px'}]);
27 }, "Autogenerated");
28 //unpause
29 at(3, function() {
30 assert_styles(
31 '.anim',
32 [{'left':'176.92308044433594px'},
33 {'left':'180px'},
34 {'left':'0px'},
35 {'left':'0px'}]);
36 }, "Autogenerated");
37 //pause
38 at(4, function() {
39 assert_styles(
40 '.anim',
41 [{'left':'200px'},
42 {'left':'200px'},
43 {'left':'116px'},
44 {'left':'117.39130401611328px'}]);
45 }, "Autogenerated");
46 at(5, function() {
47 assert_styles(
48 '.anim',
49 [{'left':'200px'},
50 {'left':'200px'},
51 {'left':'116px'},
52 {'left':'117.39130401611328px'}]);
53 }, "Autogenerated");
54 //unpause
55 at(6, function() {
56 assert_styles(
57 '.anim',
58 [{'left':'200px'},
59 {'left':'200px'},
60 {'left':'156px'},
61 {'left':'160.86956787109375px'}]);
62 }, "Autogenerated");
63 at(7, function() {
64 assert_styles(
65 '.anim',
66 [{'left':'200px'},
67 {'left':'200px'},
68 {'left':'196px'},
69 {'left':'200px'}]);
70 }, "Autogenerated");
71 at(7.1, function() {
72 assert_styles(
73 '.anim',
74 [{'left':'200px'},
75 {'left':'200px'},
76 {'left':'200px'},
77 {'left':'200px'}]);
78 }, "Autogenerated");
79 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698