OLD | NEW |
| (Empty) |
1 This test passes if the container's scrolling contents layer (the first child of
the GraphicsLayer with 4 children) draws content only on iterations 2 and 3, an
d its scrolling block selection layer (the child of the scrolling contents layer
) draws content only on iteration 4. The scrolling block selection layer should
also be much smaller than the scrolling contents layer. | |
2 Lorem Ipsum | |
3 Lorem Ipsum | |
4 Lorem Ipsum | |
5 Lorem Ipsum | |
6 Lorem Ipsum | |
7 Lorem Ipsum | |
8 Lorem Ipsum | |
9 Lorem Ipsum | |
10 Lorem Ipsum | |
11 Lorem Ipsum | |
12 | |
13 | |
14 *** iteration 1: *** | |
15 | |
16 { | |
17 "bounds": [800, 600], | |
18 "children": [ | |
19 { | |
20 "bounds": [800, 600], | |
21 "contentsOpaque": true, | |
22 "drawsContent": true, | |
23 "children": [ | |
24 { | |
25 "position": [8, 62], | |
26 "bounds": [300, 500], | |
27 "drawsContent": true, | |
28 "children": [ | |
29 { | |
30 "bounds": [285, 485], | |
31 "children": [ | |
32 { | |
33 "bounds": [285, 665], | |
34 "shouldFlattenTransform": false, | |
35 "children": [ | |
36 { | |
37 "shouldFlattenTransform": false | |
38 } | |
39 ] | |
40 } | |
41 ] | |
42 }, | |
43 { | |
44 "children": [ | |
45 { | |
46 "position": [0, 485], | |
47 "bounds": [285, 15] | |
48 }, | |
49 { | |
50 "position": [285, 0], | |
51 "bounds": [15, 485] | |
52 }, | |
53 { | |
54 "position": [285, 485], | |
55 "bounds": [15, 15], | |
56 "drawsContent": true | |
57 } | |
58 ] | |
59 } | |
60 ] | |
61 }, | |
62 { | |
63 "position": [23, 77], | |
64 "bounds": [100, 50], | |
65 "contentsOpaque": true, | |
66 "drawsContent": true, | |
67 "backgroundColor": "#FFA500" | |
68 }, | |
69 { | |
70 "position": [23, 142], | |
71 "bounds": [100, 50], | |
72 "contentsOpaque": true, | |
73 "drawsContent": true, | |
74 "backgroundColor": "#FFA500" | |
75 }, | |
76 { | |
77 "position": [23, 207], | |
78 "bounds": [100, 50], | |
79 "contentsOpaque": true, | |
80 "drawsContent": true, | |
81 "backgroundColor": "#FFA500" | |
82 }, | |
83 { | |
84 "position": [23, 272], | |
85 "bounds": [100, 50], | |
86 "contentsOpaque": true, | |
87 "drawsContent": true, | |
88 "backgroundColor": "#FFA500" | |
89 }, | |
90 { | |
91 "position": [23, 337], | |
92 "bounds": [100, 50], | |
93 "contentsOpaque": true, | |
94 "drawsContent": true, | |
95 "backgroundColor": "#FFA500" | |
96 }, | |
97 { | |
98 "position": [23, 402], | |
99 "bounds": [100, 50], | |
100 "contentsOpaque": true, | |
101 "drawsContent": true, | |
102 "backgroundColor": "#FFA500" | |
103 }, | |
104 { | |
105 "position": [23, 467], | |
106 "bounds": [100, 50], | |
107 "contentsOpaque": true, | |
108 "drawsContent": true, | |
109 "backgroundColor": "#FFA500" | |
110 }, | |
111 { | |
112 "position": [23, 532], | |
113 "bounds": [100, 50], | |
114 "contentsOpaque": true, | |
115 "drawsContent": true, | |
116 "backgroundColor": "#FFA500" | |
117 }, | |
118 { | |
119 "position": [23, 597], | |
120 "bounds": [100, 50], | |
121 "contentsOpaque": true, | |
122 "drawsContent": true, | |
123 "backgroundColor": "#FFA500" | |
124 }, | |
125 { | |
126 "position": [23, 662], | |
127 "bounds": [100, 50], | |
128 "contentsOpaque": true, | |
129 "drawsContent": true, | |
130 "backgroundColor": "#FFA500" | |
131 } | |
132 ] | |
133 } | |
134 ] | |
135 } | |
136 | |
137 | |
138 *** iteration 2: *** | |
139 | |
140 { | |
141 "bounds": [785, 2466], | |
142 "children": [ | |
143 { | |
144 "bounds": [785, 2466], | |
145 "contentsOpaque": true, | |
146 "drawsContent": true, | |
147 "children": [ | |
148 { | |
149 "position": [8, 80], | |
150 "bounds": [300, 500], | |
151 "contentsOpaque": true, | |
152 "drawsContent": true, | |
153 "backgroundColor": "#0000FF", | |
154 "children": [ | |
155 { | |
156 "bounds": [285, 485], | |
157 "children": [ | |
158 { | |
159 "bounds": [285, 665], | |
160 "shouldFlattenTransform": false, | |
161 "drawsContent": true, | |
162 "children": [ | |
163 { | |
164 "shouldFlattenTransform": false | |
165 } | |
166 ] | |
167 } | |
168 ] | |
169 }, | |
170 { | |
171 "children": [ | |
172 { | |
173 "position": [0, 485], | |
174 "bounds": [285, 15] | |
175 }, | |
176 { | |
177 "position": [285, 0], | |
178 "bounds": [15, 485] | |
179 }, | |
180 { | |
181 "position": [285, 485], | |
182 "bounds": [15, 15], | |
183 "drawsContent": true | |
184 } | |
185 ] | |
186 } | |
187 ] | |
188 }, | |
189 { | |
190 "position": [23, 95], | |
191 "bounds": [100, 50], | |
192 "contentsOpaque": true, | |
193 "drawsContent": true, | |
194 "backgroundColor": "#FFA500" | |
195 }, | |
196 { | |
197 "position": [23, 160], | |
198 "bounds": [100, 50], | |
199 "contentsOpaque": true, | |
200 "drawsContent": true, | |
201 "backgroundColor": "#FFA500" | |
202 }, | |
203 { | |
204 "position": [23, 225], | |
205 "bounds": [100, 50], | |
206 "contentsOpaque": true, | |
207 "drawsContent": true, | |
208 "backgroundColor": "#FFA500" | |
209 }, | |
210 { | |
211 "position": [23, 290], | |
212 "bounds": [100, 50], | |
213 "contentsOpaque": true, | |
214 "drawsContent": true, | |
215 "backgroundColor": "#FFA500" | |
216 }, | |
217 { | |
218 "position": [23, 355], | |
219 "bounds": [100, 50], | |
220 "contentsOpaque": true, | |
221 "drawsContent": true, | |
222 "backgroundColor": "#FFA500" | |
223 }, | |
224 { | |
225 "position": [23, 420], | |
226 "bounds": [100, 50], | |
227 "contentsOpaque": true, | |
228 "drawsContent": true, | |
229 "backgroundColor": "#FFA500" | |
230 }, | |
231 { | |
232 "position": [23, 485], | |
233 "bounds": [100, 50], | |
234 "contentsOpaque": true, | |
235 "drawsContent": true, | |
236 "backgroundColor": "#FFA500" | |
237 }, | |
238 { | |
239 "position": [23, 550], | |
240 "bounds": [100, 50], | |
241 "contentsOpaque": true, | |
242 "drawsContent": true, | |
243 "backgroundColor": "#FFA500" | |
244 }, | |
245 { | |
246 "position": [23, 615], | |
247 "bounds": [100, 50], | |
248 "contentsOpaque": true, | |
249 "drawsContent": true, | |
250 "backgroundColor": "#FFA500" | |
251 }, | |
252 { | |
253 "position": [23, 680], | |
254 "bounds": [100, 50], | |
255 "contentsOpaque": true, | |
256 "drawsContent": true, | |
257 "backgroundColor": "#FFA500" | |
258 } | |
259 ] | |
260 } | |
261 ] | |
262 } | |
263 | |
264 | |
265 *** iteration 3: *** | |
266 | |
267 { | |
268 "bounds": [785, 4371], | |
269 "children": [ | |
270 { | |
271 "bounds": [785, 4371], | |
272 "contentsOpaque": true, | |
273 "drawsContent": true, | |
274 "children": [ | |
275 { | |
276 "position": [8, 80], | |
277 "bounds": [300, 500], | |
278 "contentsOpaque": true, | |
279 "drawsContent": true, | |
280 "backgroundColor": "#0000FF", | |
281 "children": [ | |
282 { | |
283 "bounds": [285, 485], | |
284 "children": [ | |
285 { | |
286 "bounds": [285, 665], | |
287 "shouldFlattenTransform": false, | |
288 "drawsContent": true, | |
289 "children": [ | |
290 { | |
291 "shouldFlattenTransform": false | |
292 } | |
293 ] | |
294 } | |
295 ] | |
296 }, | |
297 { | |
298 "children": [ | |
299 { | |
300 "position": [0, 485], | |
301 "bounds": [285, 15] | |
302 }, | |
303 { | |
304 "position": [285, 0], | |
305 "bounds": [15, 485] | |
306 }, | |
307 { | |
308 "position": [285, 485], | |
309 "bounds": [15, 15], | |
310 "drawsContent": true | |
311 } | |
312 ] | |
313 } | |
314 ] | |
315 }, | |
316 { | |
317 "position": [23, 95], | |
318 "bounds": [100, 50], | |
319 "contentsOpaque": true, | |
320 "drawsContent": true, | |
321 "backgroundColor": "#FFA500" | |
322 }, | |
323 { | |
324 "position": [23, 160], | |
325 "bounds": [100, 50], | |
326 "contentsOpaque": true, | |
327 "drawsContent": true, | |
328 "backgroundColor": "#FFA500" | |
329 }, | |
330 { | |
331 "position": [23, 225], | |
332 "bounds": [100, 50], | |
333 "contentsOpaque": true, | |
334 "drawsContent": true, | |
335 "backgroundColor": "#FFA500" | |
336 }, | |
337 { | |
338 "position": [23, 290], | |
339 "bounds": [100, 50], | |
340 "contentsOpaque": true, | |
341 "drawsContent": true, | |
342 "backgroundColor": "#FFA500" | |
343 }, | |
344 { | |
345 "position": [23, 355], | |
346 "bounds": [100, 50], | |
347 "contentsOpaque": true, | |
348 "drawsContent": true, | |
349 "backgroundColor": "#FFA500" | |
350 }, | |
351 { | |
352 "position": [23, 420], | |
353 "bounds": [100, 50], | |
354 "contentsOpaque": true, | |
355 "drawsContent": true, | |
356 "backgroundColor": "#FFA500" | |
357 }, | |
358 { | |
359 "position": [23, 485], | |
360 "bounds": [100, 50], | |
361 "contentsOpaque": true, | |
362 "drawsContent": true, | |
363 "backgroundColor": "#FFA500" | |
364 }, | |
365 { | |
366 "position": [23, 550], | |
367 "bounds": [100, 50], | |
368 "contentsOpaque": true, | |
369 "drawsContent": true, | |
370 "backgroundColor": "#FFA500" | |
371 }, | |
372 { | |
373 "position": [23, 615], | |
374 "bounds": [100, 50], | |
375 "contentsOpaque": true, | |
376 "drawsContent": true, | |
377 "backgroundColor": "#FFA500" | |
378 }, | |
379 { | |
380 "position": [23, 680], | |
381 "bounds": [100, 50], | |
382 "contentsOpaque": true, | |
383 "drawsContent": true, | |
384 "backgroundColor": "#FFA500" | |
385 } | |
386 ] | |
387 } | |
388 ] | |
389 } | |
390 | |
391 | |
392 *** iteration 4: *** | |
393 | |
394 { | |
395 "bounds": [785, 6276], | |
396 "children": [ | |
397 { | |
398 "bounds": [785, 6276], | |
399 "contentsOpaque": true, | |
400 "drawsContent": true, | |
401 "children": [ | |
402 { | |
403 "position": [8, 80], | |
404 "bounds": [300, 500], | |
405 "drawsContent": true, | |
406 "children": [ | |
407 { | |
408 "bounds": [285, 485], | |
409 "children": [ | |
410 { | |
411 "bounds": [285, 665], | |
412 "shouldFlattenTransform": false, | |
413 "children": [ | |
414 { | |
415 "position": [0, 195], | |
416 "bounds": [285, 15], | |
417 "shouldFlattenTransform": false, | |
418 "drawsContent": true | |
419 } | |
420 ] | |
421 } | |
422 ] | |
423 }, | |
424 { | |
425 "children": [ | |
426 { | |
427 "position": [0, 485], | |
428 "bounds": [285, 15] | |
429 }, | |
430 { | |
431 "position": [285, 0], | |
432 "bounds": [15, 485] | |
433 }, | |
434 { | |
435 "position": [285, 485], | |
436 "bounds": [15, 15], | |
437 "drawsContent": true | |
438 } | |
439 ] | |
440 } | |
441 ] | |
442 }, | |
443 { | |
444 "position": [23, 95], | |
445 "bounds": [100, 50], | |
446 "contentsOpaque": true, | |
447 "drawsContent": true, | |
448 "backgroundColor": "#FFA500" | |
449 }, | |
450 { | |
451 "position": [23, 160], | |
452 "bounds": [100, 50], | |
453 "contentsOpaque": true, | |
454 "drawsContent": true, | |
455 "backgroundColor": "#FFA500" | |
456 }, | |
457 { | |
458 "position": [23, 225], | |
459 "bounds": [100, 50], | |
460 "contentsOpaque": true, | |
461 "drawsContent": true, | |
462 "backgroundColor": "#FFA500" | |
463 }, | |
464 { | |
465 "position": [23, 290], | |
466 "bounds": [100, 50], | |
467 "contentsOpaque": true, | |
468 "drawsContent": true, | |
469 "backgroundColor": "#FFA500" | |
470 }, | |
471 { | |
472 "position": [23, 355], | |
473 "bounds": [100, 50], | |
474 "contentsOpaque": true, | |
475 "drawsContent": true, | |
476 "backgroundColor": "#FFA500" | |
477 }, | |
478 { | |
479 "position": [23, 420], | |
480 "bounds": [100, 50], | |
481 "contentsOpaque": true, | |
482 "drawsContent": true, | |
483 "backgroundColor": "#FFA500" | |
484 }, | |
485 { | |
486 "position": [23, 485], | |
487 "bounds": [100, 50], | |
488 "contentsOpaque": true, | |
489 "drawsContent": true, | |
490 "backgroundColor": "#FFA500" | |
491 }, | |
492 { | |
493 "position": [23, 550], | |
494 "bounds": [100, 50], | |
495 "contentsOpaque": true, | |
496 "drawsContent": true, | |
497 "backgroundColor": "#FFA500" | |
498 }, | |
499 { | |
500 "position": [23, 615], | |
501 "bounds": [100, 50], | |
502 "contentsOpaque": true, | |
503 "drawsContent": true, | |
504 "backgroundColor": "#FFA500" | |
505 }, | |
506 { | |
507 "position": [23, 680], | |
508 "bounds": [100, 50], | |
509 "contentsOpaque": true, | |
510 "drawsContent": true, | |
511 "backgroundColor": "#FFA500" | |
512 } | |
513 ] | |
514 } | |
515 ] | |
516 } | |
517 | |
OLD | NEW |