OLD | NEW |
| (Empty) |
1 timing_test(function() { | |
2 at(0 * 1000, function() { | |
3 assert_styles("#background.test",{'backgroundImage':'none','backgroundPositi
on':'0% 0%','backgroundSize':'auto','backgroundRepeat':'repeat','backgroundAttac
hment':'scroll','backgroundOrigin':'padding-box','backgroundClip':'border-box','
backgroundColor':'rgb(176, 196, 222)'}); | |
4 }, "#background"); | |
5 at(0 * 1000, function() { | |
6 assert_styles("#border.test",{'borderTopColor':'rgb(0, 0, 0)','borderTopStyl
e':'none','borderTopWidth':'0px','borderRightColor':'rgb(0, 0, 0)','borderRightS
tyle':'none','borderRightWidth':'0px','borderBottomColor':'rgb(0, 0, 0)','border
BottomStyle':'none','borderBottomWidth':'0px','borderLeftColor':'rgb(0, 0, 0)','
borderLeftStyle':'none','borderLeftWidth':'0px'}); | |
7 }, "#border"); | |
8 at(0 * 1000, function() { | |
9 assert_styles("#borderBottom.test",{'borderBottomWidth':'0px','borderBottomS
tyle':'none','borderBottomColor':'rgb(0, 0, 0)'}); | |
10 }, "#borderBottom"); | |
11 at(0 * 1000, function() { | |
12 assert_styles("#borderColor.test",{'borderTopColor':'rgb(0, 0, 0)','borderRi
ghtColor':'rgb(0, 0, 0)','borderBottomColor':'rgb(0, 0, 0)','borderLeftColor':'r
gb(0, 0, 0)'}); | |
13 }, "#borderColor"); | |
14 at(0 * 1000, function() { | |
15 assert_styles("#borderLeft.test",{'borderLeftWidth':'0px','borderLeftStyle':
'none','borderLeftColor':'rgb(0, 0, 0)'}); | |
16 }, "#borderLeft"); | |
17 at(0 * 1000, function() { | |
18 assert_styles("#borderRadius.test",{'borderTopLeftRadius':'0px','borderTopRi
ghtRadius':'0px','borderBottomRightRadius':'0px','borderBottomLeftRadius':'0px'}
); | |
19 }, "#borderRadius"); | |
20 at(0 * 1000, function() { | |
21 assert_styles("#borderRight.test",{'borderRightWidth':'0px','borderRightStyl
e':'none','borderRightColor':'rgb(0, 0, 0)'}); | |
22 }, "#borderRight"); | |
23 at(0 * 1000, function() { | |
24 assert_styles("#borderTop.test",{'borderTopWidth':'0px','borderTopStyle':'no
ne','borderTopColor':'rgb(0, 0, 0)'}); | |
25 }, "#borderTop"); | |
26 at(0 * 1000, function() { | |
27 assert_styles("#borderWidth.test",{'borderTopWidth':'3px','borderRightWidth'
:'3px','borderBottomWidth':'3px','borderLeftWidth':'3px'}); | |
28 }, "#borderWidth"); | |
29 at(0 * 1000, function() { | |
30 assert_styles("#font.test",{'fontFamily':'\'DejaVu Sans\', \'Bitstream Vera
Sans\', Arial, Sans','fontSize':'16px','fontStyle':'normal','fontVariant':'norma
l','fontWeight':'normal','lineHeight':'19.2000px'}); | |
31 }, "#font"); | |
32 at(0 * 1000, function() { | |
33 assert_styles("#margin.test",{'marginTop':'0px','marginRight':'10px','margin
Bottom':'0px','marginLeft':'0px'}); | |
34 }, "#margin"); | |
35 at(0 * 1000, function() { | |
36 assert_styles("#outline.test",{'outlineColor':'rgb(0, 0, 0)','outlineStyle':
'none','outlineWidth':'0px'}); | |
37 }, "#outline"); | |
38 at(0 * 1000, function() { | |
39 assert_styles("#padding.test",{'paddingTop':'0px','paddingRight':'0px','padd
ingBottom':'0px','paddingLeft':'0px'}); | |
40 }, "#padding"); | |
41 at(0.5 * 1000, function() { | |
42 assert_styles("#background.test",{'backgroundImage':'none','backgroundPositi
on':'12.5% 6.25%','backgroundSize':'auto','backgroundRepeat':'repeat','backgroun
dAttachment':'scroll','backgroundOrigin':'padding-box','backgroundClip':'border-
box','backgroundColor':'rgb(132, 179, 167)'}); | |
43 }, "#background"); | |
44 at(0.5 * 1000, function() { | |
45 assert_styles("#border.test",{'borderTopColor':'rgb(0, 32, 0)','borderTopSty
le':'none','borderTopWidth':'0px','borderRightColor':'rgb(0, 32, 0)','borderRigh
tStyle':'none','borderRightWidth':'0px','borderBottomColor':'rgb(0, 32, 0)','bor
derBottomStyle':'none','borderBottomWidth':'0px','borderLeftColor':'rgb(0, 32, 0
)','borderLeftStyle':'none','borderLeftWidth':'0px'}); | |
46 }, "#border"); | |
47 at(0.5 * 1000, function() { | |
48 assert_styles("#borderBottom.test",{'borderBottomWidth':'0px','borderBottomS
tyle':'none','borderBottomColor':'rgb(0, 32, 0)'}); | |
49 }, "#borderBottom"); | |
50 at(0.5 * 1000, function() { | |
51 assert_styles("#borderColor.test",{'borderTopColor':'rgb(0, 64, 0)','borderR
ightColor':'rgb(36, 60, 36)','borderBottomColor':'rgb(0, 25, 0)','borderLeftColo
r':'rgb(0, 32, 0)'}); | |
52 }, "#borderColor"); | |
53 at(0.5 * 1000, function() { | |
54 assert_styles("#borderLeft.test",{'borderLeftWidth':'0px','borderLeftStyle':
'none','borderLeftColor':'rgb(0, 32, 0)'}); | |
55 }, "#borderLeft"); | |
56 at(0.5 * 1000, function() { | |
57 assert_styles("#borderRadius.test",{'borderTopLeftRadius':'2.5px','borderTop
RightRadius':'5px','borderBottomRightRadius':'calc(0px + 2.5%)','borderBottomLef
tRadius':'calc(0px + 12.5%)'}); | |
58 }, "#borderRadius"); | |
59 at(0.5 * 1000, function() { | |
60 assert_styles("#borderRight.test",{'borderRightWidth':'0px','borderRightStyl
e':'none','borderRightColor':'rgb(0, 32, 0)'}); | |
61 }, "#borderRight"); | |
62 at(0.5 * 1000, function() { | |
63 assert_styles("#borderTop.test",{'borderTopWidth':'0px','borderTopStyle':'no
ne','borderTopColor':'rgb(0, 32, 0)'}); | |
64 }, "#borderTop"); | |
65 at(0.5 * 1000, function() { | |
66 assert_styles("#borderWidth.test",{'borderTopWidth':'2px','borderRightWidth'
:'3px','borderBottomWidth':'3px','borderLeftWidth':'4px'}); | |
67 }, "#borderWidth"); | |
68 at(0.5 * 1000, function() { | |
69 assert_styles("#font.test",{'fontFamily':'\'DejaVu Sans\', \'Bitstream Vera
Sans\', Arial, Sans','fontSize':'19.2000px','fontStyle':'normal','fontVariant':'
normal','fontWeight':'500','lineHeight':'26.1333px'}); | |
70 }, "#font"); | |
71 at(0.5 * 1000, function() { | |
72 assert_styles("#margin.test",{'marginTop':'1.25px','marginRight':'10px','mar
ginBottom':'3.75px','marginLeft':'5px'}); | |
73 }, "#margin"); | |
74 at(0.5 * 1000, function() { | |
75 assert_styles("#outline.test",{'outlineColor':'rgb(0, 32, 0)','outlineStyle'
:'none','outlineWidth':'0px'}); | |
76 }, "#outline"); | |
77 at(0.5 * 1000, function() { | |
78 assert_styles("#padding.test",{'paddingTop':'1.25px','paddingRight':'2.5px',
'paddingBottom':'3.75px','paddingLeft':'5px'}); | |
79 }, "#padding"); | |
80 at(1 * 1000, function() { | |
81 assert_styles("#background.test",{'backgroundPosition':'25% 12.5%','backgrou
ndSize':'auto','backgroundRepeat':'repeat-y','backgroundAttachment':'scroll','ba
ckgroundOrigin':'padding-box','backgroundClip':'border-box','backgroundColor':'r
gb(88, 162, 111)'}); | |
82 }, "#background"); | |
83 at(1 * 1000, function() { | |
84 assert_styles("#border.test",{'borderTopColor':'rgb(0, 64, 0)','borderTopSty
le':'solid','borderTopWidth':'2px','borderRightColor':'rgb(0, 64, 0)','borderRig
htStyle':'solid','borderRightWidth':'2px','borderBottomColor':'rgb(0, 64, 0)','b
orderBottomStyle':'solid','borderBottomWidth':'2px','borderLeftColor':'rgb(0, 64
, 0)','borderLeftStyle':'solid','borderLeftWidth':'2px'}); | |
85 }, "#border"); | |
86 at(1 * 1000, function() { | |
87 assert_styles("#borderBottom.test",{'borderBottomWidth':'2px','borderBottomS
tyle':'solid','borderBottomColor':'rgb(0, 64, 0)'}); | |
88 }, "#borderBottom"); | |
89 at(1 * 1000, function() { | |
90 assert_styles("#borderColor.test",{'borderTopColor':'rgb(0, 128, 0)','border
RightColor':'rgb(72, 119, 72)','borderBottomColor':'rgb(0, 50, 0)','borderLeftCo
lor':'rgb(0, 64, 0)'}); | |
91 }, "#borderColor"); | |
92 at(1 * 1000, function() { | |
93 assert_styles("#borderLeft.test",{'borderLeftWidth':'2px','borderLeftStyle':
'solid','borderLeftColor':'rgb(0, 64, 0)'}); | |
94 }, "#borderLeft"); | |
95 at(1 * 1000, function() { | |
96 assert_styles("#borderRadius.test",{'borderTopLeftRadius':'5px','borderTopRi
ghtRadius':'10px','borderBottomRightRadius':'calc(0px + 5%)','borderBottomLeftRa
dius':'calc(0px + 25%)'}); | |
97 }, "#borderRadius"); | |
98 at(1 * 1000, function() { | |
99 assert_styles("#borderRight.test",{'borderRightWidth':'2px','borderRightStyl
e':'solid','borderRightColor':'rgb(0, 64, 0)'}); | |
100 }, "#borderRight"); | |
101 at(1 * 1000, function() { | |
102 assert_styles("#borderTop.test",{'borderTopWidth':'2px','borderTopStyle':'so
lid','borderTopColor':'rgb(0, 64, 0)'}); | |
103 }, "#borderTop"); | |
104 at(1 * 1000, function() { | |
105 assert_styles("#borderWidth.test",{'borderTopWidth':'2px','borderRightWidth'
:'3px','borderBottomWidth':'4px','borderLeftWidth':'6px'}); | |
106 }, "#borderWidth"); | |
107 at(1 * 1000, function() { | |
108 assert_styles("#font.test",{'fontFamily':'serif','fontSize':'21px','fontStyl
e':'italic','fontVariant':'normal','fontWeight':'600','lineHeight':'34.1333px'})
; | |
109 }, "#font"); | |
110 at(1 * 1000, function() { | |
111 assert_styles("#margin.test",{'marginTop':'2.5px','marginRight':'10px','marg
inBottom':'7.5px','marginLeft':'10px'}); | |
112 }, "#margin"); | |
113 at(1 * 1000, function() { | |
114 assert_styles("#outline.test",{'outlineColor':'rgb(0, 64, 0)','outlineStyle'
:'solid','outlineWidth':'2px'}); | |
115 }, "#outline"); | |
116 at(1 * 1000, function() { | |
117 assert_styles("#padding.test",{'paddingTop':'2.5px','paddingRight':'5px','pa
ddingBottom':'7.5px','paddingLeft':'10px'}); | |
118 }, "#padding"); | |
119 at(1.5 * 1000, function() { | |
120 assert_styles("#background.test",{'backgroundPosition':'37.5% 18.75%','backg
roundSize':'auto','backgroundRepeat':'repeat-y','backgroundAttachment':'scroll',
'backgroundOrigin':'padding-box','backgroundClip':'border-box','backgroundColor'
:'rgb(44, 145, 56)'}); | |
121 }, "#background"); | |
122 at(1.5 * 1000, function() { | |
123 assert_styles("#border.test",{'borderTopColor':'rgb(0, 96, 0)','borderTopSty
le':'solid','borderTopWidth':'3px','borderRightColor':'rgb(0, 96, 0)','borderRig
htStyle':'solid','borderRightWidth':'3px','borderBottomColor':'rgb(0, 96, 0)','b
orderBottomStyle':'solid','borderBottomWidth':'3px','borderLeftColor':'rgb(0, 96
, 0)','borderLeftStyle':'solid','borderLeftWidth':'3px'}); | |
124 }, "#border"); | |
125 at(1.5 * 1000, function() { | |
126 assert_styles("#borderBottom.test",{'borderBottomWidth':'3px','borderBottomS
tyle':'solid','borderBottomColor':'rgb(0, 96, 0)'}); | |
127 }, "#borderBottom"); | |
128 at(1.5 * 1000, function() { | |
129 assert_styles("#borderColor.test",{'borderTopColor':'rgb(0, 191, 0)','border
RightColor':'rgb(108, 179, 108)','borderBottomColor':'rgb(0, 75, 0)','borderLeft
Color':'rgb(0, 96, 0)'}); | |
130 }, "#borderColor"); | |
131 at(1.5 * 1000, function() { | |
132 assert_styles("#borderLeft.test",{'borderLeftWidth':'3px','borderLeftStyle':
'solid','borderLeftColor':'rgb(0, 96, 0)'}); | |
133 }, "#borderLeft"); | |
134 at(1.5 * 1000, function() { | |
135 assert_styles("#borderRadius.test",{'borderTopLeftRadius':'7.5px','borderTop
RightRadius':'15px','borderBottomRightRadius':'calc(0px + 7.5%)','borderBottomLe
ftRadius':'calc(0px + 37.5%)'}); | |
136 }, "#borderRadius"); | |
137 at(1.5 * 1000, function() { | |
138 assert_styles("#borderRight.test",{'borderRightWidth':'3px','borderRightStyl
e':'solid','borderRightColor':'rgb(0, 96, 0)'}); | |
139 }, "#borderRight"); | |
140 at(1.5 * 1000, function() { | |
141 assert_styles("#borderTop.test",{'borderTopWidth':'3px','borderTopStyle':'so
lid','borderTopColor':'rgb(0, 96, 0)'}); | |
142 }, "#borderTop"); | |
143 at(1.5 * 1000, function() { | |
144 assert_styles("#borderWidth.test",{'borderTopWidth':'1px','borderRightWidth'
:'3px','borderBottomWidth':'4px','borderLeftWidth':'8px'}); | |
145 }, "#borderWidth"); | |
146 at(1.5 * 1000, function() { | |
147 assert_styles("#font.test",{'fontFamily':'serif','fontSize':'24px','fontStyl
e':'italic','fontVariant':'normal','fontWeight':'600','lineHeight':'43.2000px'})
; | |
148 }, "#font"); | |
149 at(1.5 * 1000, function() { | |
150 assert_styles("#margin.test",{'marginTop':'3.75px','marginRight':'10px','mar
ginBottom':'11.25px','marginLeft':'15px'}); | |
151 }, "#margin"); | |
152 at(1.5 * 1000, function() { | |
153 assert_styles("#outline.test",{'outlineColor':'rgb(0, 96, 0)','outlineStyle'
:'solid','outlineWidth':'3px'}); | |
154 }, "#outline"); | |
155 at(1.5 * 1000, function() { | |
156 assert_styles("#padding.test",{'paddingTop':'3.75px','paddingRight':'7.5px',
'paddingBottom':'11.25px','paddingLeft':'15px'}); | |
157 }, "#padding"); | |
158 at(2 * 1000, function() { | |
159 assert_styles("#background.test",{'backgroundPosition':'50% 25%','background
Size':'auto','backgroundRepeat':'repeat-y','backgroundAttachment':'scroll','back
groundOrigin':'padding-box','backgroundClip':'border-box','backgroundColor':'rgb
(0, 128, 0)'}); | |
160 }, "#background"); | |
161 at(2 * 1000, function() { | |
162 assert_styles("#border.test",{'borderTopColor':'rgb(0, 128, 0)','borderTopSt
yle':'solid','borderTopWidth':'4px','borderRightColor':'rgb(0, 128, 0)','borderR
ightStyle':'solid','borderRightWidth':'4px','borderBottomColor':'rgb(0, 128, 0)'
,'borderBottomStyle':'solid','borderBottomWidth':'4px','borderLeftColor':'rgb(0,
128, 0)','borderLeftStyle':'solid','borderLeftWidth':'4px'}); | |
163 }, "#border"); | |
164 at(2 * 1000, function() { | |
165 assert_styles("#borderBottom.test",{'borderBottomWidth':'4px','borderBottomS
tyle':'solid','borderBottomColor':'rgb(0, 128, 0)'}); | |
166 }, "#borderBottom"); | |
167 at(2 * 1000, function() { | |
168 assert_styles("#borderColor.test",{'borderTopColor':'rgb(0, 255, 0)','border
RightColor':'rgb(144, 238, 144)','borderBottomColor':'rgb(0, 100, 0)','borderLef
tColor':'rgb(0, 128, 0)'}); | |
169 }, "#borderColor"); | |
170 at(2 * 1000, function() { | |
171 assert_styles("#borderLeft.test",{'borderLeftWidth':'4px','borderLeftStyle':
'solid','borderLeftColor':'rgb(0, 128, 0)'}); | |
172 }, "#borderLeft"); | |
173 at(2 * 1000, function() { | |
174 assert_styles("#borderRadius.test",{'borderTopLeftRadius':'10px','borderTopR
ightRadius':'20px','borderBottomRightRadius':'10%','borderBottomLeftRadius':'50%
'}); | |
175 }, "#borderRadius"); | |
176 at(2 * 1000, function() { | |
177 assert_styles("#borderRight.test",{'borderRightWidth':'4px','borderRightStyl
e':'solid','borderRightColor':'rgb(0, 128, 0)'}); | |
178 }, "#borderRight"); | |
179 at(2 * 1000, function() { | |
180 assert_styles("#borderTop.test",{'borderTopWidth':'4px','borderTopStyle':'so
lid','borderTopColor':'rgb(0, 128, 0)'}); | |
181 }, "#borderTop"); | |
182 at(2 * 1000, function() { | |
183 assert_styles("#borderWidth.test",{'borderTopWidth':'1px','borderRightWidth'
:'3px','borderBottomWidth':'5px','borderLeftWidth':'10px'}); | |
184 }, "#borderWidth"); | |
185 at(2 * 1000, function() { | |
186 assert_styles("#font.test",{'fontFamily':'serif','fontSize':'27px','fontStyl
e':'italic','fontVariant':'normal','fontWeight':'bold','lineHeight':'53.3333px'}
); | |
187 }, "#font"); | |
188 at(2 * 1000, function() { | |
189 assert_styles("#margin.test",{'marginTop':'5px','marginRight':'10px','margin
Bottom':'15px','marginLeft':'20px'}); | |
190 }, "#margin"); | |
191 at(2 * 1000, function() { | |
192 assert_styles("#outline.test",{'outlineColor':'rgb(0, 128, 0)','outlineStyle
':'solid','outlineWidth':'5px'}); | |
193 }, "#outline"); | |
194 at(2 * 1000, function() { | |
195 assert_styles("#padding.test",{'paddingTop':'5px','paddingRight':'10px','pad
dingBottom':'15px','paddingLeft':'20px'}); | |
196 }, "#padding"); | |
197 }, "Auto generated tests"); | |
OLD | NEW |