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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-perspective-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(".test",{'perspective':'500px'});
4 });
5 at(0.5 * 1000, function() {
6 assert_styles(".test", [
7 {'perspective':'412.5px'},
8 {'perspective':'625px'},
9 {'perspective':'500px'},
10 {'perspective':'376px'},
11 ]);
12 });
13 at(1 * 1000, function() {
14 assert_styles(".test", [
15 {'perspective':'325px'},
16 {'perspective':'750px'},
17 {'perspective':'none'},
18 {'perspective':'252px'},
19 ]);
20 });
21 at(1.5 * 1000, function() {
22 assert_styles(".test", [
23 {'perspective':'237.5px'},
24 {'perspective':'875px'},
25 {'perspective':'none'},
26 {'perspective':'128px'},
27 ]);
28 });
29 at(2 * 1000, function() {
30 assert_styles(".test", [
31 {'perspective':'150px'},
32 {'perspective':'1000px'},
33 {'perspective':'none'},
34 {'perspective':'4px'},
35 ]);
36 });
37 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698