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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-wrapping-bug-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(
4 '.anim',
5 [{'transform':'matrix(1, 0, 0, 1, -800, 0)'},
6 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
7 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
8 {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
9 }, "Autogenerated");
10 at(0.1 * 1000, function() {
11 assert_styles(
12 '.anim',
13 [{'transform':'matrix(1, 0, 0, 1, -800, 0)'},
14 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
15 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
16 {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
17 }, "Autogenerated");
18 at(0.2 * 1000, function() {
19 assert_styles(
20 '.anim',
21 [{'transform':'matrix(1, 0, 0, 1, -800, 0)'},
22 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
23 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
24 {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
25 }, "Autogenerated");
26 at(0.30000000000000004 * 1000, function() {
27 assert_styles(
28 '.anim',
29 [{'transform':'matrix(1, 0, 0, 1, -666.6666870117188, 0)'},
30 {'transform':'matrix(1, 0, 0, 1, -533.3333129882813, 0)'},
31 {'transform':'matrix(1, 0, 0, 1, -533.3599853515625, 0)'},
32 {'transform':'matrix(1, 0, 0, 1, -533.3333129882813, 0)'}]);
33 }, "Autogenerated");
34 at(0.4 * 1000, function() {
35 assert_styles(
36 '.anim',
37 [{'transform':'matrix(1, 0, 0, 1, -400, 0)'},
38 {'transform':'matrix(1, 0, 0, 1, -266.6666564941406, 0)'},
39 {'transform':'matrix(1, 0, 0, 1, -266.6933288574219, 0)'},
40 {'transform':'matrix(1, 0, 0, 1, -266.6666564941406, 0)'}]);
41 }, "Autogenerated");
42 at(0.5 * 1000, function() {
43 assert_styles(
44 '.anim',
45 [{'transform':'matrix(1, 0, 0, 1, -133.3333282470703, 0)'},
46 {'transform':'matrix(1, 0, 0, 1, 0, 0)'},
47 {'transform':'matrix(1, 0, 0, 1, -0.02666666731238365, 0)'},
48 {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
49 }, "Autogenerated");
50 at(0.6 * 1000, function() {
51 assert_styles(
52 '.anim',
53 [{'transform':'matrix(1, 0, 0, 1, 0, 0)'},
54 {'transform':'matrix(1, 0, 0, 1, 0, 0)'},
55 {'transform':'matrix(1, 0, 0, 1, -800, 0)'},
56 {'transform':'matrix(1, 0, 0, 1, -800, 0)'}]);
57 }, "Autogenerated");
58 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698