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

Side by Side Diff: third_party/polymer/components/web-animations-js/test/testcases/auto-test-calc-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(".anim",{'width':'50px'});
4 });
5 at(0.5 * 1000, function() {
6 assert_styles(".anim", [
7 {'width':'81.25px'},
8 {'width':'81.25px'},
9 {'width':'137.5px'},
10 {'width':'81.25px'},
11 {'width':'95.3125px'},
12 {'width':'95.3125px'},
13 {'width':'95.3125px'},
14 ]);
15 });
16 at(1 * 1000, function() {
17 assert_styles(".anim", [
18 {'width':'150px'},
19 {'width':'150px'},
20 {'width':'225px'},
21 {'width':'150px'},
22 {'width':'168.75px'},
23 {'width':'168.75px'},
24 {'width':'168.75px'},
25 ]);
26 });
27 at(1.5 * 1000, function() {
28 assert_styles(".anim", [
29 {'width':'256.25px'},
30 {'width':'256.25px'},
31 {'width':'312.5px'},
32 {'width':'256.25px'},
33 {'width':'270.3125px'},
34 {'width':'270.3125px'},
35 {'width':'270.3125px'},
36 ]);
37 });
38 at(2 * 1000, function() {
39 assert_styles(".anim",{'width':'400px'});
40 });
41 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698