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

Side by Side Diff: polymer_0.4.0/bower_components/web-animations-js/test/testcases/auto-test-inline-style-fallback-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
1 timing_test(function() { 1 timing_test(function() {
2 at(0 * 1000, function() { 2 at(0 * 1000, function() {
3 assert_styles("#target",{'left':'0px','backgroundColor':'rgb(176, 196, 222)' }); 3 assert_styles("#target",{'left':'0px','backgroundColor':'rgb(176, 196, 222)' });
4 }); 4 });
5 at(0.5 * 1000, function() { 5 at(0.5 * 1000, function() {
6 assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222) '}); 6 assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222) '});
7 }); 7 });
8 at(1.5 * 1000, function() { 8 at(1.5 * 1000, function() {
9 assert_styles("#target",{'left':'100px','backgroundColor':'rgb(176, 196, 222 )'}); 9 assert_styles("#target",{'left':'100px','backgroundColor':'rgb(176, 196, 222 )'});
10 }); 10 });
11 at(2 * 1000, function() { 11 at(2 * 1000, function() {
12 assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222) '}); 12 assert_styles("#target",{'left':'50px','backgroundColor':'rgb(176, 196, 222) '});
13 }); 13 });
14 at(3 * 1000, function() { 14 at(3 * 1000, function() {
15 assert_styles("#target",{'left':'100px','backgroundColor':'rgb(0, 128, 0)'}) ; 15 assert_styles("#target",{'left':'100px','backgroundColor':'rgb(0, 128, 0)'}) ;
16 }); 16 });
17 }, "Auto generated tests"); 17 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698