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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-initial-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("#background",{'backgroundColor':'rgba(0, 0, 0, 0)'});
4 }, "#background");
5 at(0 * 1000, function() {
6 assert_styles("#border",{'borderBottomColor':'rgb(0, 0, 0)','borderBottomLef tRadius':'0px','borderBottomRightRadius':'0px','borderBottomWidth':'3px','border LeftColor':'rgb(0, 0, 0)','borderLeftWidth':'3px','borderRightColor':'rgb(0, 0, 0)','borderRightWidth':'3px','borderTopColor':'rgb(0, 0, 0)','borderTopLeftRadiu s':'0px','borderTopRightRadius':'0px','borderTopWidth':'3px'});
7 }, "#border");
8 at(0 * 1000, function() {
9 assert_styles("#table",{'borderSpacing':'2px 2px','verticalAlign':'0px'});
10 }, "#table");
11 at(0 * 1000, function() {
12 assert_styles("#opacity",{'opacity':'1'});
13 }, "#opacity");
14 at(0 * 1000, function() {
15 assert_styles("#outline",{'outlineWidth':'3px','outlineOffset':'0px'});
16 }, "#outline");
17 at(0 * 1000, function() {
18 assert_styles("#padding",{'paddingBottom':'0px','paddingLeft':'0px','padding Right':'0px','paddingTop':'0px'});
19 }, "#padding");
20 at(0 * 1000, function() {
21 assert_styles("#transform",{'transform':'none'});
22 }, "#transform");
23 at(0 * 1000, function() {
24 assert_styles("#text",{'color':'rgb(0, 0, 0)','fontSize':'13px','fontWeight' :'normal','letterSpacing':'normal','lineHeight':'15.600px','textIndent':'0px','t extShadow':'rgba(0, 0, 0, 0) 0px 0px 0px','wordSpacing':'0px'});
25 }, "#text");
26 at(1 * 1000, function() {
27 assert_styles("#background",{'backgroundColor':'rgba(0, 128, 0, 0.498039)'}) ;
28 }, "#background");
29 at(1 * 1000, function() {
30 assert_styles("#border",{'borderBottomColor':'rgb(0, 255, 0)','borderBottomL eftRadius':'25px','borderBottomRightRadius':'25px','borderBottomWidth':'6px','bo rderLeftColor':'rgb(0, 255, 0)','borderLeftWidth':'6px','borderRightColor':'rgb( 0, 255, 0)','borderRightWidth':'6px','borderTopColor':'rgb(0, 255, 0)','borderTo pLeftRadius':'25px','borderTopRightRadius':'25px','borderTopWidth':'6px'});
31 }, "#border");
32 at(1 * 1000, function() {
33 assert_styles("#table",{'borderSpacing':'6px 6px','verticalAlign':'5px'});
34 }, "#table");
35 at(1 * 1000, function() {
36 assert_styles("#opacity",{'opacity':'0.625'});
37 }, "#opacity");
38 at(1 * 1000, function() {
39 assert_styles("#outline",{'outlineColor':'rgb(0, 128, 0)','outlineWidth':'6p x','outlineOffset':'5px'});
40 }, "#outline");
41 at(1 * 1000, function() {
42 assert_styles("#padding",{'paddingBottom':'25px','paddingLeft':'25px','paddi ngRight':'25px','paddingTop':'25px'});
43 }, "#padding");
44 at(1 * 1000, function() {
45 assert_styles("#transform",{'transform':'matrix(-1, 0.0000000000000001224606 3538223773, -0.00000000000000012246063538223773, -1, 0, 0)'});
46 }, "#transform");
47 at(1 * 1000, function() {
48 assert_styles("#text",{'color':'rgb(0, 64, 0)','fontSize':'23px','fontWeight ':'bold','letterSpacing':'5px','lineHeight':'36.7999px','textIndent':'25px','tex tShadow':'rgba(0, 255, 0, 0.498039) 5px 5px 25px','wordSpacing':'100px'});
49 }, "#text");
50 at(2 * 1000, function() {
51 assert_styles("#background",{'backgroundColor':'rgb(0, 128, 0)'});
52 }, "#background");
53 at(2 * 1000, function() {
54 assert_styles("#border",{'borderBottomColor':'rgb(0, 255, 0)','borderBottomL eftRadius':'50px','borderBottomRightRadius':'50px','borderBottomWidth':'10px','b orderLeftColor':'rgb(0, 255, 0)','borderLeftWidth':'10px','borderRightColor':'rg b(0, 255, 0)','borderRightWidth':'10px','borderTopColor':'rgb(0, 255, 0)','borde rTopLeftRadius':'50px','borderTopRightRadius':'50px','borderTopWidth':'10px'});
55 }, "#border");
56 at(2 * 1000, function() {
57 assert_styles("#table",{'borderSpacing':'10px 10px','verticalAlign':'10px'}) ;
58 }, "#table");
59 at(2 * 1000, function() {
60 assert_styles("#opacity",{'opacity':'0.25'});
61 }, "#opacity");
62 at(2 * 1000, function() {
63 assert_styles("#outline",{'outlineColor':'rgb(0, 128, 0)','outlineWidth':'10 px','outlineOffset':'10px'});
64 }, "#outline");
65 at(2 * 1000, function() {
66 assert_styles("#padding",{'paddingBottom':'50px','paddingLeft':'50px','paddi ngRight':'50px','paddingTop':'50px'});
67 }, "#padding");
68 at(2 * 1000, function() {
69 assert_styles("#transform",{'transform':'matrix(1, -0.0000000000000002449212 7076447545, 0.00000000000000024492127076447545, 1, 0, 0)'});
70 }, "#transform");
71 at(2 * 1000, function() {
72 assert_styles("#text",{'color':'rgb(0, 128, 0)','fontSize':'30px','fontWeigh t':'900','letterSpacing':'5px','lineHeight':'60px','textIndent':'50px','textShad ow':'rgb(0, 255, 0) 10px 10px 50px','wordSpacing':'100px'});
73 }, "#text");
74 }, "Auto generated tests");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698