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

Side by Side Diff: bower_components/web-animations-js/test/testcases/auto-test-color-names-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.0 * 1000, function() {
3 assert_styles(
4 '.anim',
5 [{'backgroundColor':'rgb(240, 248, 255)'},
6 {'backgroundColor':'rgb(255, 127, 80)'},
7 {'backgroundColor':'rgb(139, 0, 0)'},
8 {'backgroundColor':'rgb(220, 220, 220)'},
9 {'backgroundColor':'rgb(124, 252, 0)'},
10 {'backgroundColor':'rgb(255, 255, 224)'},
11 {'backgroundColor':'rgb(255, 228, 225)'},
12 {'backgroundColor':'rgb(205, 133, 63)'},
13 {'backgroundColor':'rgb(106, 90, 205)'}]);
14 }, "Autogenerated");
15 at(0.125 * 1000, function() {
16 assert_styles(
17 '.anim',
18 [{'backgroundColor':'rgb(245, 242, 236)'},
19 {'backgroundColor':'rgb(182, 137, 154)'},
20 {'backgroundColor':'rgb(186, 75, 61)'},
21 {'backgroundColor':'rgb(233, 233, 236)'},
22 {'backgroundColor':'rgb(185, 251, 96)'},
23 {'backgroundColor':'rgb(128, 255, 112)'},
24 {'backgroundColor':'rgb(255, 228, 204)'},
25 {'backgroundColor':'rgb(228, 161, 129)'},
26 {'backgroundColor':'rgb(109, 109, 175)'}]);
27 }, "Autogenerated");
28 at(0.25 * 1000, function() {
29 assert_styles(
30 '.anim',
31 [{'backgroundColor':'rgb(249, 236, 218)'},
32 {'backgroundColor':'rgb(110, 148, 227)'},
33 {'backgroundColor':'rgb(233, 150, 122)'},
34 {'backgroundColor':'rgb(246, 246, 253)'},
35 {'backgroundColor':'rgb(247, 250, 192)'},
36 {'backgroundColor':'rgb(0, 255, 0)'},
37 {'backgroundColor':'rgb(255, 228, 184)'},
38 {'backgroundColor':'rgb(252, 188, 194)'},
39 {'backgroundColor':'rgb(112, 128, 144)'}]);
40 }, "Autogenerated");
41 at(0.375 * 1000, function() {
42 assert_styles(
43 '.anim',
44 [{'backgroundColor':'rgb(148, 243, 231)'},
45 {'backgroundColor':'rgb(163, 189, 230)'},
46 {'backgroundColor':'rgb(188, 169, 133)'},
47 {'backgroundColor':'rgb(251, 235, 151)'},
48 {'backgroundColor':'rgb(222, 236, 215)'},
49 {'backgroundColor':'rgb(25, 230, 25)'},
50 {'backgroundColor':'rgb(255, 226, 178)'},
51 {'backgroundColor':'rgb(241, 179, 210)'},
52 {'backgroundColor':'rgb(112, 128, 144)'}]);
53 }, "Autogenerated");
54 at(0.5 * 1000, function() {
55 assert_styles(
56 '.anim',
57 [{'backgroundColor':'rgb(31, 253, 250)'},
58 {'backgroundColor':'rgb(236, 236, 222)'},
59 {'backgroundColor':'rgb(143, 188, 143)'},
60 {'backgroundColor':'rgb(254, 219, 32)'},
61 {'backgroundColor':'rgb(183, 220, 227)'},
62 {'backgroundColor':'rgb(50, 205, 50)'},
63 {'backgroundColor':'rgb(255, 223, 174)'},
64 {'backgroundColor':'rgb(225, 164, 219)'},
65 {'backgroundColor':'rgb(112, 128, 144)'}]);
66 }, "Autogenerated");
67 at(0.625 * 1000, function() {
68 assert_styles(
69 '.anim',
70 [{'backgroundColor':'rgb(44, 255, 240)'},
71 {'backgroundColor':'rgb(243, 170, 165)'},
72 {'backgroundColor':'rgb(108, 125, 141)'},
73 {'backgroundColor':'rgb(242, 198, 11)'},
74 {'backgroundColor':'rgb(196, 186, 195)'},
75 {'backgroundColor':'rgb(150, 223, 140)'},
76 {'backgroundColor':'rgb(167, 146, 158)'},
77 {'backgroundColor':'rgb(206, 182, 224)'},
78 {'backgroundColor':'rgb(184, 189, 197)'}]);
79 }, "Autogenerated");
80 at(0.75 * 1000, function() {
81 assert_styles(
82 '.anim',
83 [{'backgroundColor':'rgb(103, 255, 220)'},
84 {'backgroundColor':'rgb(227, 63, 90)'},
85 {'backgroundColor':'rgb(72, 61, 139)'},
86 {'backgroundColor':'rgb(225, 174, 26)'},
87 {'backgroundColor':'rgb(227, 145, 147)'},
88 {'backgroundColor':'rgb(250, 240, 230)'},
89 {'backgroundColor':'rgb(48, 42, 136)'},
90 {'backgroundColor':'rgb(184, 212, 228)'},
91 {'backgroundColor':'rgb(255, 250, 250)'}]);
92 }, "Autogenerated");
93 at(0.875 * 1000, function() {
94 assert_styles(
95 '.anim',
96 [{'backgroundColor':'rgb(159, 255, 224)'},
97 {'backgroundColor':'rgb(158, 86, 115)'},
98 {'backgroundColor':'rgb(60, 70, 109)'},
99 {'backgroundColor':'rgb(193, 155, 59)'},
100 {'backgroundColor':'rgb(236, 164, 164)'},
101 {'backgroundColor':'rgb(253, 120, 243)'},
102 {'backgroundColor':'rgb(71, 69, 157)'},
103 {'backgroundColor':'rgb(163, 161, 201)'},
104 {'backgroundColor':'rgb(128, 253, 189)'}]);
105 }, "Autogenerated");
106 at(1.0 * 1000, function() {
107 assert_styles(
108 '.anim',
109 [{'backgroundColor':'rgb(212, 255, 244)'},
110 {'backgroundColor':'rgb(55, 196, 206)'},
111 {'backgroundColor':'rgb(47, 79, 79)'},
112 {'backgroundColor':'rgb(151, 137, 104)'},
113 {'backgroundColor':'rgb(228, 223, 223)'},
114 {'backgroundColor':'rgb(255, 0, 255)'},
115 {'backgroundColor':'rgb(190, 184, 205)'},
116 {'backgroundColor':'rgb(140, 56, 154)'},
117 {'backgroundColor':'rgb(0, 255, 127)'}]);
118 }, "Autogenerated");
119 at(1.125 * 1000, function() {
120 assert_styles(
121 '.anim',
122 [{'backgroundColor':'rgb(241, 253, 247)'},
123 {'backgroundColor':'rgb(0, 199, 230)'},
124 {'backgroundColor':'rgb(47, 79, 79)'},
125 {'backgroundColor':'rgb(100, 128, 100)'},
126 {'backgroundColor':'rgb(230, 254, 245)'},
127 {'backgroundColor':'rgb(192, 0, 128)'},
128 {'backgroundColor':'rgb(226, 219, 180)'},
129 {'backgroundColor':'rgb(156, 0, 100)'},
130 {'backgroundColor':'rgb(35, 193, 154)'}]);
131 }, "Autogenerated");
132 at(1.25 * 1000, function() {
133 assert_styles(
134 '.anim',
135 [{'backgroundColor':'rgb(243, 248, 231)'},
136 {'backgroundColor':'rgb(0, 80, 175)'},
137 {'backgroundColor':'rgb(47, 79, 79)'},
138 {'backgroundColor':'rgb(40, 128, 40)'},
139 {'backgroundColor':'rgb(242, 252, 224)'},
140 {'backgroundColor':'rgb(128, 0, 0)'},
141 {'backgroundColor':'rgb(167, 165, 72)'},
142 {'backgroundColor':'rgb(215, 0, 40)'},
143 {'backgroundColor':'rgb(70, 130, 180)'}]);
144 }, "Autogenerated");
145 at(1.375 * 1000, function() {
146 assert_styles(
147 '.anim',
148 [{'backgroundColor':'rgb(247, 242, 216)'},
149 {'backgroundColor':'rgb(0, 22, 139)'},
150 {'backgroundColor':'rgb(24, 143, 144)'},
151 {'backgroundColor':'rgb(27, 148, 7)'},
152 {'backgroundColor':'rgb(244, 244, 210)'},
153 {'backgroundColor':'rgb(115, 103, 85)'},
154 {'backgroundColor':'rgb(125, 130, 5)'},
155 {'backgroundColor':'rgb(245, 22, 22)'},
156 {'backgroundColor':'rgb(140, 155, 160)'}]);
157 }, "Autogenerated");
158 at(1.5 * 1000, function() {
159 assert_styles(
160 '.anim',
161 [{'backgroundColor':'rgb(251, 234, 205)'},
162 {'backgroundColor':'rgb(0, 87, 139)'},
163 {'backgroundColor':'rgb(0, 206, 209)'},
164 {'backgroundColor':'rgb(108, 207, 29)'},
165 {'backgroundColor':'rgb(226, 226, 211)'},
166 {'backgroundColor':'rgb(102, 205, 170)'},
167 {'backgroundColor':'rgb(115, 137, 22)'},
168 {'backgroundColor':'rgb(213, 89, 89)'},
169 {'backgroundColor':'rgb(210, 180, 140)'}]);
170 }, "Autogenerated");
171 at(1.625 * 1000, function() {
172 assert_styles(
173 '.anim',
174 [{'backgroundColor':'rgb(231, 207, 178)'},
175 {'backgroundColor':'rgb(17, 139, 127)'},
176 {'backgroundColor':'rgb(74, 103, 210)'},
177 {'backgroundColor':'rgb(169, 243, 55)'},
178 {'backgroundColor':'rgb(205, 214, 205)'},
179 {'backgroundColor':'rgb(51, 103, 188)'},
180 {'backgroundColor':'rgb(121, 144, 32)'},
181 {'backgroundColor':'rgb(176, 139, 151)'},
182 {'backgroundColor':'rgb(105, 154, 134)'}]);
183 }, "Autogenerated");
184 at(1.75 * 1000, function() {
185 assert_styles(
186 '.anim',
187 [{'backgroundColor':'rgb(112, 100, 86)'},
188 {'backgroundColor':'rgb(103, 136, 67)'},
189 {'backgroundColor':'rgb(148, 0, 211)'},
190 {'backgroundColor':'rgb(148, 184, 93)'},
191 {'backgroundColor':'rgb(173, 226, 173)'},
192 {'backgroundColor':'rgb(0, 0, 205)'},
193 {'backgroundColor':'rgb(190, 155, 15)'},
194 {'backgroundColor':'rgb(119, 122, 189)'},
195 {'backgroundColor':'rgb(0, 128, 128)'}]);
196 }, "Autogenerated");
197 at(1.875 * 1000, function() {
198 assert_styles(
199 '.anim',
200 [{'backgroundColor':'rgb(8, 7, 6)'},
201 {'backgroundColor':'rgb(184, 135, 16)'},
202 {'backgroundColor':'rgb(202, 10, 179)'},
203 {'backgroundColor':'rgb(132, 132, 132)'},
204 {'backgroundColor':'rgb(146, 237, 146)'},
205 {'backgroundColor':'rgb(93, 43, 208)'},
206 {'backgroundColor':'rgb(255, 162, 0)'},
207 {'backgroundColor':'rgb(67, 104, 219)'},
208 {'backgroundColor':'rgb(108, 160, 172)'}]);
209 }, "Autogenerated");
210 at(2.0 * 1000, function() {
211 assert_styles(
212 '.anim',
213 [{'backgroundColor':'rgb(128, 118, 103)'},
214 {'backgroundColor':'rgb(177, 152, 90)'},
215 {'backgroundColor':'rgb(255, 20, 147)'},
216 {'backgroundColor':'rgb(184, 192, 184)'},
217 {'backgroundColor':'rgb(178, 225, 178)'},
218 {'backgroundColor':'rgb(186, 85, 211)'},
219 {'backgroundColor':'rgb(255, 117, 0)'},
220 {'backgroundColor':'rgb(102, 87, 122)'},
221 {'backgroundColor':'rgb(216, 191, 216)'}]);
222 }, "Autogenerated");
223 at(2.125 * 1000, function() {
224 assert_styles(
225 '.anim',
226 [{'backgroundColor':'rgb(247, 228, 199)'},
227 {'backgroundColor':'rgb(169, 168, 164)'},
228 {'backgroundColor':'rgb(128, 106, 201)'},
229 {'backgroundColor':'rgb(237, 251, 237)'},
230 {'backgroundColor':'rgb(209, 212, 209)'},
231 {'backgroundColor':'rgb(167, 99, 215)'},
232 {'backgroundColor':'rgb(255, 72, 0)'},
233 {'backgroundColor':'rgb(137, 70, 25)'},
234 {'backgroundColor':'rgb(236, 145, 144)'}]);
235 }, "Autogenerated");
236 at(2.25 * 1000, function() {
237 assert_styles(
238 '.anim',
239 [{'backgroundColor':'rgb(143, 132, 227)'},
240 {'backgroundColor':'rgb(95, 139, 95)'},
241 {'backgroundColor':'rgb(0, 191, 255)'},
242 {'backgroundColor':'rgb(247, 189, 214)'},
243 {'backgroundColor':'rgb(230, 198, 203)'},
244 {'backgroundColor':'rgb(147, 112, 219)'},
245 {'backgroundColor':'rgb(239, 88, 94)'},
246 {'backgroundColor':'rgb(188, 95, 61)'},
247 {'backgroundColor':'rgb(255, 99, 71)'}]);
248 }, "Autogenerated");
249 at(2.375 * 1000, function() {
250 assert_styles(
251 '.anim',
252 [{'backgroundColor':'rgb(24, 22, 250)'},
253 {'backgroundColor':'rgb(16, 106, 16)'},
254 {'backgroundColor':'rgb(53, 148, 180)'},
255 {'backgroundColor':'rgb(254, 119, 186)'},
256 {'backgroundColor':'rgb(251, 185, 195)'},
257 {'backgroundColor':'rgb(104, 146, 166)'},
258 {'backgroundColor':'rgb(221, 108, 194)'},
259 {'backgroundColor':'rgb(240, 122, 105)'},
260 {'backgroundColor':'rgb(160, 162, 140)'}]);
261 }, "Autogenerated");
262 at(2.5 * 1000, function() {
263 assert_styles(
264 '.anim',
265 [{'backgroundColor':'rgb(52, 16, 244)'},
266 {'backgroundColor':'rgb(63, 126, 63)'},
267 {'backgroundColor':'rgb(105, 105, 105)'},
268 {'backgroundColor':'rgb(236, 100, 147)'},
269 {'backgroundColor':'rgb(255, 174, 166)'},
270 {'backgroundColor':'rgb(60, 179, 113)'},
271 {'backgroundColor':'rgb(226, 157, 198)'},
272 {'backgroundColor':'rgb(248, 142, 107)'},
273 {'backgroundColor':'rgb(64, 224, 208)'}]);
274 }, "Autogenerated");
275 at(2.625 * 1000, function() {
276 assert_styles(
277 '.anim',
278 [{'backgroundColor':'rgb(116, 36, 231)'},
279 {'backgroundColor':'rgb(143, 158, 143)'},
280 {'backgroundColor':'rgb(105, 105, 105)'},
281 {'backgroundColor':'rgb(213, 94, 106)'},
282 {'backgroundColor':'rgb(255, 163, 133)'},
283 {'backgroundColor':'rgb(92, 142, 176)'},
284 {'backgroundColor':'rgb(235, 213, 177)'},
285 {'backgroundColor':'rgb(245, 158, 99)'},
286 {'backgroundColor':'rgb(151, 177, 223)'}]);
287 }, "Autogenerated");
288 at(2.75 * 1000, function() {
289 assert_styles(
290 '.anim',
291 [{'backgroundColor':'rgb(146, 43, 168)'},
292 {'backgroundColor':'rgb(175, 173, 150)'},
293 {'backgroundColor':'rgb(105, 105, 105)'},
294 {'backgroundColor':'rgb(164, 63, 104)'},
295 {'backgroundColor':'rgb(185, 166, 137)'},
296 {'backgroundColor':'rgb(123, 104, 238)'},
297 {'backgroundColor':'rgb(211, 238, 164)'},
298 {'backgroundColor':'rgb(182, 156, 93)'},
299 {'backgroundColor':'rgb(238, 130, 238)'}]);
300 }, "Autogenerated");
301 at(2.875 * 1000, function() {
302 assert_styles(
303 '.anim',
304 [{'backgroundColor':'rgb(159, 42, 82)'},
305 {'backgroundColor':'rgb(185, 180, 121)'},
306 {'backgroundColor':'rgb(68, 125, 180)'},
307 {'backgroundColor':'rgb(103, 20, 122)'},
308 {'backgroundColor':'rgb(81, 174, 160)'},
309 {'backgroundColor':'rgb(62, 177, 196)'},
310 {'backgroundColor':'rgb(171, 247, 156)'},
311 {'backgroundColor':'rgb(89, 144, 89)'},
312 {'backgroundColor':'rgb(242, 176, 209)'}]);
313 }, "Autogenerated");
314 at(3.0 * 1000, function() {
315 assert_styles(
316 '.anim',
317 [{'backgroundColor':'rgb(179, 78, 65)'},
318 {'backgroundColor':'rgb(176, 137, 115)'},
319 {'backgroundColor':'rgb(30, 144, 255)'},
320 {'backgroundColor':'rgb(120, 64, 158)'},
321 {'backgroundColor':'rgb(58, 185, 190)'},
322 {'backgroundColor':'rgb(0, 250, 154)'},
323 {'backgroundColor':'rgb(158, 248, 174)'},
324 {'backgroundColor':'rgb(98, 166, 125)'},
325 {'backgroundColor':'rgb(245, 222, 179)'}]);
326 }, "Autogenerated");
327 at(3.125 * 1000, function() {
328 assert_styles(
329 '.anim',
330 [{'backgroundColor':'rgb(206, 144, 109)'},
331 {'backgroundColor':'rgb(153, 51, 130)'},
332 {'backgroundColor':'rgb(104, 89, 145)'},
333 {'backgroundColor':'rgb(204, 183, 209)'},
334 {'backgroundColor':'rgb(106, 198, 227)'},
335 {'backgroundColor':'rgb(36, 230, 179)'},
336 {'backgroundColor':'rgb(169, 242, 214)'},
337 {'backgroundColor':'rgb(196, 215, 196)'},
338 {'backgroundColor':'rgb(250, 239, 217)'}]);
339 }, "Autogenerated");
340 at(3.25 * 1000, function() {
341 assert_styles(
342 '.anim',
343 [{'backgroundColor':'rgb(198, 179, 140)'},
344 {'backgroundColor':'rgb(129, 20, 122)'},
345 {'backgroundColor':'rgb(178, 34, 34)'},
346 {'backgroundColor':'rgb(252, 250, 221)'},
347 {'backgroundColor':'rgb(132, 193, 232)'},
348 {'backgroundColor':'rgb(72, 209, 204)'},
349 {'backgroundColor':'rgb(183, 214, 221)'},
350 {'backgroundColor':'rgb(237, 214, 202)'},
351 {'backgroundColor':'rgb(255, 255, 255)'}]);
352 }, "Autogenerated");
353 at(3.375 * 1000, function() {
354 assert_styles(
355 '.anim',
356 [{'backgroundColor':'rgb(139, 167, 151)'},
357 {'backgroundColor':'rgb(104, 70, 79)'},
358 {'backgroundColor':'rgb(217, 142, 137)'},
359 {'backgroundColor':'rgb(245, 239, 174)'},
360 {'backgroundColor':'rgb(125, 160, 186)'},
361 {'backgroundColor':'rgb(136, 115, 169)'},
362 {'backgroundColor':'rgb(204, 155, 178)'},
363 {'backgroundColor':'rgb(193, 138, 111)'},
364 {'backgroundColor':'rgb(250, 250, 250)'}]);
365 }, "Autogenerated");
366 at(3.5 * 1000, function() {
367 assert_styles(
368 '.anim',
369 [{'backgroundColor':'rgb(99, 170, 140)'},
370 {'backgroundColor':'rgb(106, 111, 41)'},
371 {'backgroundColor':'rgb(255, 250, 240)'},
372 {'backgroundColor':'rgb(239, 230, 154)'},
373 {'backgroundColor':'rgb(119, 136, 153)'},
374 {'backgroundColor':'rgb(199, 21, 133)'},
375 {'backgroundColor':'rgb(223, 128, 155)'},
376 {'backgroundColor':'rgb(164, 96, 63)'},
377 {'backgroundColor':'rgb(245, 245, 245)'}]);
378 }, "Autogenerated");
379 at(3.625 * 1000, function() {
380 assert_styles(
381 '.anim',
382 [{'backgroundColor':'rgb(114, 216, 65)'},
383 {'backgroundColor':'rgb(186, 127, 19)'},
384 {'backgroundColor':'rgb(145, 195, 137)'},
385 {'backgroundColor':'rgb(234, 230, 205)'},
386 {'backgroundColor':'rgb(119, 136, 153)'},
387 {'backgroundColor':'rgb(112, 23, 123)'},
388 {'backgroundColor':'rgb(240, 187, 186)'},
389 {'backgroundColor':'rgb(179, 147, 132)'},
390 {'backgroundColor':'rgb(250, 250, 123)'}]);
391 }, "Autogenerated");
392 at(3.75 * 1000, function() {
393 assert_styles(
394 '.anim',
395 [{'backgroundColor':'rgb(132, 246, 2)'},
396 {'backgroundColor':'rgb(249, 134, 13)'},
397 {'backgroundColor':'rgb(34, 139, 34)'},
398 {'backgroundColor':'rgb(232, 231, 250)'},
399 {'backgroundColor':'rgb(123, 140, 157)'},
400 {'backgroundColor':'rgb(25, 25, 112)'},
401 {'backgroundColor':'rgb(255, 238, 211)'},
402 {'backgroundColor':'rgb(188, 193, 195)'},
403 {'backgroundColor':'rgb(255, 255, 0)'}]);
404 }, "Autogenerated");
405 at(3.875 * 1000, function() {
406 assert_styles(
407 '.anim',
408 [{'backgroundColor':'rgb(171, 175, 16)'},
409 {'backgroundColor':'rgb(201, 92, 108)'},
410 {'backgroundColor':'rgb(145, 70, 145)'},
411 {'backgroundColor':'rgb(243, 235, 247)'},
412 {'backgroundColor':'rgb(149, 168, 190)'},
413 {'backgroundColor':'rgb(135, 140, 181)'},
414 {'backgroundColor':'rgb(255, 228, 198)'},
415 {'backgroundColor':'rgb(162, 199, 215)'},
416 {'backgroundColor':'rgb(205, 230, 25)'}]);
417 }, "Autogenerated");
418 at(4.0 * 1000, function() {
419 assert_styles(
420 '.anim',
421 [{'backgroundColor':'rgb(210, 105, 30)'},
422 {'backgroundColor':'rgb(153, 50, 204)'},
423 {'backgroundColor':'rgb(255, 0, 255)'},
424 {'backgroundColor':'rgb(255, 240, 245)'},
425 {'backgroundColor':'rgb(176, 196, 222)'},
426 {'backgroundColor':'rgb(245, 255, 250)'},
427 {'backgroundColor':'rgb(255, 218, 185)'},
428 {'backgroundColor':'rgb(135, 206, 235)'},
429 {'backgroundColor':'rgb(154, 205, 50)'}]);
430 }, "Autogenerated");
431 }, "Autogenerated checks.");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698