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