OLD | NEW |
1 This test passes if the container's scrolling contents layer (the first child of
the GraphicsLayer with 4 children) doesn't draw content at all, and its scrolli
ng block selection layer (the child of the scrolling contents layer) draws conte
nt only on iteration 2. The scrolling block selection layer should also be much
smaller than the scrolling contents layer. | 1 This test passes if the container's scrolling contents layer (the first child of
the GraphicsLayer with 4 children) doesn't draw content at all, and its scrolli
ng block selection layer (the child of the scrolling contents layer) draws conte
nt only on iteration 2. The scrolling block selection layer should also be much
smaller than the scrolling contents layer. |
2 Lorem Ipsum | 2 Lorem Ipsum |
3 Lorem Ipsum | 3 Lorem Ipsum |
4 Lorem Ipsum | 4 Lorem Ipsum |
5 Lorem Ipsum | 5 Lorem Ipsum |
6 Lorem Ipsum | 6 Lorem Ipsum |
7 Lorem Ipsum | 7 Lorem Ipsum |
8 Lorem Ipsum | 8 Lorem Ipsum |
9 Lorem Ipsum | 9 Lorem Ipsum |
10 Lorem Ipsum | 10 Lorem Ipsum |
11 Lorem Ipsum | 11 Lorem Ipsum |
12 | 12 |
13 | 13 |
14 *** iteration 1: *** | 14 *** iteration 1: *** |
15 | 15 |
16 { | 16 { |
17 "bounds": [800, 600], | 17 "bounds": [800, 600], |
18 "children": [ | 18 "children": [ |
19 { | 19 { |
20 "bounds": [800, 600], | 20 "bounds": [800, 600], |
21 "contentsOpaque": true, | 21 "contentsOpaque": true, |
22 "drawsContent": true, | 22 "drawsContent": true, |
23 "children": [ | 23 "children": [ |
24 { | 24 { |
25 "position": [8, 56], | 25 "position": [8, 62], |
26 "bounds": [300, 500], | 26 "bounds": [300, 500], |
27 "drawsContent": true, | 27 "drawsContent": true, |
28 "children": [ | 28 "children": [ |
29 { | 29 { |
30 "bounds": [285, 485], | 30 "bounds": [285, 485], |
31 "children": [ | 31 "children": [ |
32 { | 32 { |
33 "bounds": [285, 665], | 33 "bounds": [285, 665], |
34 "shouldFlattenTransform": false, | 34 "shouldFlattenTransform": false, |
35 "children": [ | 35 "children": [ |
(...skipping 19 matching lines...) Expand all Loading... |
55 { | 55 { |
56 "position": [285, 485], | 56 "position": [285, 485], |
57 "bounds": [15, 15], | 57 "bounds": [15, 15], |
58 "drawsContent": true | 58 "drawsContent": true |
59 } | 59 } |
60 ] | 60 ] |
61 } | 61 } |
62 ] | 62 ] |
63 }, | 63 }, |
64 { | 64 { |
65 "position": [23, 71], | 65 "position": [23, 77], |
66 "bounds": [100, 50], | 66 "bounds": [100, 50], |
67 "contentsOpaque": true, | 67 "contentsOpaque": true, |
68 "drawsContent": true, | 68 "drawsContent": true, |
69 "backgroundColor": "#FFA500" | 69 "backgroundColor": "#FFA500" |
70 }, | 70 }, |
71 { | 71 { |
72 "position": [23, 136], | 72 "position": [23, 142], |
73 "bounds": [100, 50], | 73 "bounds": [100, 50], |
74 "contentsOpaque": true, | 74 "contentsOpaque": true, |
75 "drawsContent": true, | 75 "drawsContent": true, |
76 "backgroundColor": "#FFA500" | 76 "backgroundColor": "#FFA500" |
77 }, | 77 }, |
78 { | 78 { |
79 "position": [23, 201], | 79 "position": [23, 207], |
80 "bounds": [100, 50], | 80 "bounds": [100, 50], |
81 "contentsOpaque": true, | 81 "contentsOpaque": true, |
82 "drawsContent": true, | 82 "drawsContent": true, |
83 "backgroundColor": "#FFA500" | 83 "backgroundColor": "#FFA500" |
84 }, | 84 }, |
85 { | 85 { |
86 "position": [23, 266], | 86 "position": [23, 272], |
87 "bounds": [100, 50], | 87 "bounds": [100, 50], |
88 "contentsOpaque": true, | 88 "contentsOpaque": true, |
89 "drawsContent": true, | 89 "drawsContent": true, |
90 "backgroundColor": "#FFA500" | 90 "backgroundColor": "#FFA500" |
91 }, | 91 }, |
92 { | 92 { |
93 "position": [23, 331], | 93 "position": [23, 337], |
94 "bounds": [100, 50], | 94 "bounds": [100, 50], |
95 "contentsOpaque": true, | 95 "contentsOpaque": true, |
96 "drawsContent": true, | 96 "drawsContent": true, |
97 "backgroundColor": "#FFA500" | 97 "backgroundColor": "#FFA500" |
98 }, | 98 }, |
99 { | 99 { |
100 "position": [23, 396], | 100 "position": [23, 402], |
101 "bounds": [100, 50], | 101 "bounds": [100, 50], |
102 "contentsOpaque": true, | 102 "contentsOpaque": true, |
103 "drawsContent": true, | 103 "drawsContent": true, |
104 "backgroundColor": "#FFA500" | 104 "backgroundColor": "#FFA500" |
105 }, | 105 }, |
106 { | 106 { |
107 "position": [23, 461], | 107 "position": [23, 467], |
108 "bounds": [100, 50], | 108 "bounds": [100, 50], |
109 "contentsOpaque": true, | 109 "contentsOpaque": true, |
110 "drawsContent": true, | 110 "drawsContent": true, |
111 "backgroundColor": "#FFA500" | 111 "backgroundColor": "#FFA500" |
112 }, | 112 }, |
113 { | 113 { |
114 "position": [23, 526], | 114 "position": [23, 532], |
115 "bounds": [100, 50], | 115 "bounds": [100, 50], |
116 "contentsOpaque": true, | 116 "contentsOpaque": true, |
117 "drawsContent": true, | 117 "drawsContent": true, |
118 "backgroundColor": "#FFA500" | 118 "backgroundColor": "#FFA500" |
119 }, | 119 }, |
120 { | 120 { |
121 "position": [23, 591], | 121 "position": [23, 597], |
122 "bounds": [100, 50], | 122 "bounds": [100, 50], |
123 "contentsOpaque": true, | 123 "contentsOpaque": true, |
124 "drawsContent": true, | 124 "drawsContent": true, |
125 "backgroundColor": "#FFA500" | 125 "backgroundColor": "#FFA500" |
126 }, | 126 }, |
127 { | 127 { |
128 "position": [23, 656], | 128 "position": [23, 662], |
129 "bounds": [100, 50], | 129 "bounds": [100, 50], |
130 "contentsOpaque": true, | 130 "contentsOpaque": true, |
131 "drawsContent": true, | 131 "drawsContent": true, |
132 "backgroundColor": "#FFA500" | 132 "backgroundColor": "#FFA500" |
133 } | 133 } |
134 ] | 134 ] |
135 } | 135 } |
136 ] | 136 ] |
137 } | 137 } |
138 | 138 |
139 | 139 |
140 *** iteration 2: *** | 140 *** iteration 2: *** |
141 | 141 |
142 { | 142 { |
143 "bounds": [785, 2220], | 143 "bounds": [785, 2478], |
144 "children": [ | 144 "children": [ |
145 { | 145 { |
146 "bounds": [785, 2220], | 146 "bounds": [785, 2478], |
147 "contentsOpaque": true, | 147 "contentsOpaque": true, |
148 "drawsContent": true, | 148 "drawsContent": true, |
149 "children": [ | 149 "children": [ |
150 { | 150 { |
151 "position": [8, 56], | 151 "position": [8, 62], |
152 "bounds": [300, 500], | 152 "bounds": [300, 500], |
153 "drawsContent": true, | 153 "drawsContent": true, |
154 "children": [ | 154 "children": [ |
155 { | 155 { |
156 "bounds": [285, 485], | 156 "bounds": [285, 485], |
157 "children": [ | 157 "children": [ |
158 { | 158 { |
159 "bounds": [285, 665], | 159 "bounds": [285, 665], |
160 "shouldFlattenTransform": false, | 160 "shouldFlattenTransform": false, |
161 "children": [ | 161 "children": [ |
(...skipping 22 matching lines...) Expand all Loading... |
184 { | 184 { |
185 "position": [285, 485], | 185 "position": [285, 485], |
186 "bounds": [15, 15], | 186 "bounds": [15, 15], |
187 "drawsContent": true | 187 "drawsContent": true |
188 } | 188 } |
189 ] | 189 ] |
190 } | 190 } |
191 ] | 191 ] |
192 }, | 192 }, |
193 { | 193 { |
194 "position": [23, 71], | 194 "position": [23, 77], |
195 "bounds": [100, 50], | 195 "bounds": [100, 50], |
196 "contentsOpaque": true, | 196 "contentsOpaque": true, |
197 "drawsContent": true, | 197 "drawsContent": true, |
198 "backgroundColor": "#FFA500" | 198 "backgroundColor": "#FFA500" |
199 }, | 199 }, |
200 { | 200 { |
201 "position": [23, 136], | 201 "position": [23, 142], |
202 "bounds": [100, 50], | 202 "bounds": [100, 50], |
203 "contentsOpaque": true, | 203 "contentsOpaque": true, |
204 "drawsContent": true, | 204 "drawsContent": true, |
205 "backgroundColor": "#FFA500" | 205 "backgroundColor": "#FFA500" |
206 }, | 206 }, |
207 { | 207 { |
208 "position": [23, 201], | 208 "position": [23, 207], |
209 "bounds": [100, 50], | 209 "bounds": [100, 50], |
210 "contentsOpaque": true, | 210 "contentsOpaque": true, |
211 "drawsContent": true, | 211 "drawsContent": true, |
212 "backgroundColor": "#FFA500" | 212 "backgroundColor": "#FFA500" |
213 }, | 213 }, |
214 { | 214 { |
215 "position": [23, 266], | 215 "position": [23, 272], |
216 "bounds": [100, 50], | 216 "bounds": [100, 50], |
217 "contentsOpaque": true, | 217 "contentsOpaque": true, |
218 "drawsContent": true, | 218 "drawsContent": true, |
219 "backgroundColor": "#FFA500" | 219 "backgroundColor": "#FFA500" |
220 }, | 220 }, |
221 { | 221 { |
222 "position": [23, 331], | 222 "position": [23, 337], |
223 "bounds": [100, 50], | 223 "bounds": [100, 50], |
224 "contentsOpaque": true, | 224 "contentsOpaque": true, |
225 "drawsContent": true, | 225 "drawsContent": true, |
226 "backgroundColor": "#FFA500" | 226 "backgroundColor": "#FFA500" |
227 }, | 227 }, |
228 { | 228 { |
229 "position": [23, 396], | 229 "position": [23, 402], |
230 "bounds": [100, 50], | 230 "bounds": [100, 50], |
231 "contentsOpaque": true, | 231 "contentsOpaque": true, |
232 "drawsContent": true, | 232 "drawsContent": true, |
233 "backgroundColor": "#FFA500" | 233 "backgroundColor": "#FFA500" |
234 }, | 234 }, |
235 { | 235 { |
236 "position": [23, 461], | 236 "position": [23, 467], |
237 "bounds": [100, 50], | 237 "bounds": [100, 50], |
238 "contentsOpaque": true, | 238 "contentsOpaque": true, |
239 "drawsContent": true, | 239 "drawsContent": true, |
240 "backgroundColor": "#FFA500" | 240 "backgroundColor": "#FFA500" |
241 }, | 241 }, |
242 { | 242 { |
243 "position": [23, 526], | 243 "position": [23, 532], |
244 "bounds": [100, 50], | 244 "bounds": [100, 50], |
245 "contentsOpaque": true, | 245 "contentsOpaque": true, |
246 "drawsContent": true, | 246 "drawsContent": true, |
247 "backgroundColor": "#FFA500" | 247 "backgroundColor": "#FFA500" |
248 }, | 248 }, |
249 { | 249 { |
250 "position": [23, 591], | 250 "position": [23, 597], |
251 "bounds": [100, 50], | 251 "bounds": [100, 50], |
252 "contentsOpaque": true, | 252 "contentsOpaque": true, |
253 "drawsContent": true, | 253 "drawsContent": true, |
254 "backgroundColor": "#FFA500" | 254 "backgroundColor": "#FFA500" |
255 }, | 255 }, |
256 { | 256 { |
257 "position": [23, 656], | 257 "position": [23, 662], |
258 "bounds": [100, 50], | 258 "bounds": [100, 50], |
259 "contentsOpaque": true, | 259 "contentsOpaque": true, |
260 "drawsContent": true, | 260 "drawsContent": true, |
261 "backgroundColor": "#FFA500" | 261 "backgroundColor": "#FFA500" |
262 } | 262 } |
263 ] | 263 ] |
264 } | 264 } |
265 ] | 265 ] |
266 } | 266 } |
267 | 267 |
268 | 268 |
269 *** iteration 3: *** | 269 *** iteration 3: *** |
270 | 270 |
271 { | 271 { |
272 "bounds": [785, 3897], | 272 "bounds": [785, 4413], |
273 "children": [ | 273 "children": [ |
274 { | 274 { |
275 "bounds": [785, 3897], | 275 "bounds": [785, 4413], |
276 "contentsOpaque": true, | 276 "contentsOpaque": true, |
277 "drawsContent": true, | 277 "drawsContent": true, |
278 "children": [ | 278 "children": [ |
279 { | 279 { |
280 "position": [8, 56], | 280 "position": [8, 62], |
281 "bounds": [300, 500], | 281 "bounds": [300, 500], |
282 "drawsContent": true, | 282 "drawsContent": true, |
283 "children": [ | 283 "children": [ |
284 { | 284 { |
285 "bounds": [285, 485], | 285 "bounds": [285, 485], |
286 "children": [ | 286 "children": [ |
287 { | 287 { |
288 "bounds": [285, 665], | 288 "bounds": [285, 665], |
289 "shouldFlattenTransform": false, | 289 "shouldFlattenTransform": false, |
290 "children": [ | 290 "children": [ |
(...skipping 21 matching lines...) Expand all Loading... |
312 { | 312 { |
313 "position": [285, 485], | 313 "position": [285, 485], |
314 "bounds": [15, 15], | 314 "bounds": [15, 15], |
315 "drawsContent": true | 315 "drawsContent": true |
316 } | 316 } |
317 ] | 317 ] |
318 } | 318 } |
319 ] | 319 ] |
320 }, | 320 }, |
321 { | 321 { |
322 "position": [23, 71], | 322 "position": [23, 77], |
323 "bounds": [100, 50], | 323 "bounds": [100, 50], |
324 "contentsOpaque": true, | 324 "contentsOpaque": true, |
325 "drawsContent": true, | 325 "drawsContent": true, |
326 "backgroundColor": "#FFA500" | 326 "backgroundColor": "#FFA500" |
327 }, | 327 }, |
328 { | 328 { |
329 "position": [23, 136], | 329 "position": [23, 142], |
330 "bounds": [100, 50], | 330 "bounds": [100, 50], |
331 "contentsOpaque": true, | 331 "contentsOpaque": true, |
332 "drawsContent": true, | 332 "drawsContent": true, |
333 "backgroundColor": "#FFA500" | 333 "backgroundColor": "#FFA500" |
334 }, | 334 }, |
335 { | 335 { |
336 "position": [23, 201], | 336 "position": [23, 207], |
337 "bounds": [100, 50], | 337 "bounds": [100, 50], |
338 "contentsOpaque": true, | 338 "contentsOpaque": true, |
339 "drawsContent": true, | 339 "drawsContent": true, |
340 "backgroundColor": "#FFA500" | 340 "backgroundColor": "#FFA500" |
341 }, | 341 }, |
342 { | 342 { |
343 "position": [23, 266], | 343 "position": [23, 272], |
344 "bounds": [100, 50], | 344 "bounds": [100, 50], |
345 "contentsOpaque": true, | 345 "contentsOpaque": true, |
346 "drawsContent": true, | 346 "drawsContent": true, |
347 "backgroundColor": "#FFA500" | 347 "backgroundColor": "#FFA500" |
348 }, | 348 }, |
349 { | 349 { |
350 "position": [23, 331], | 350 "position": [23, 337], |
351 "bounds": [100, 50], | 351 "bounds": [100, 50], |
352 "contentsOpaque": true, | 352 "contentsOpaque": true, |
353 "drawsContent": true, | 353 "drawsContent": true, |
354 "backgroundColor": "#FFA500" | 354 "backgroundColor": "#FFA500" |
355 }, | 355 }, |
356 { | 356 { |
357 "position": [23, 396], | 357 "position": [23, 402], |
358 "bounds": [100, 50], | 358 "bounds": [100, 50], |
359 "contentsOpaque": true, | 359 "contentsOpaque": true, |
360 "drawsContent": true, | 360 "drawsContent": true, |
361 "backgroundColor": "#FFA500" | 361 "backgroundColor": "#FFA500" |
362 }, | 362 }, |
363 { | 363 { |
364 "position": [23, 461], | 364 "position": [23, 467], |
365 "bounds": [100, 50], | 365 "bounds": [100, 50], |
366 "contentsOpaque": true, | 366 "contentsOpaque": true, |
367 "drawsContent": true, | 367 "drawsContent": true, |
368 "backgroundColor": "#FFA500" | 368 "backgroundColor": "#FFA500" |
369 }, | 369 }, |
370 { | 370 { |
371 "position": [23, 526], | 371 "position": [23, 532], |
372 "bounds": [100, 50], | 372 "bounds": [100, 50], |
373 "contentsOpaque": true, | 373 "contentsOpaque": true, |
374 "drawsContent": true, | 374 "drawsContent": true, |
375 "backgroundColor": "#FFA500" | 375 "backgroundColor": "#FFA500" |
376 }, | 376 }, |
377 { | 377 { |
378 "position": [23, 591], | 378 "position": [23, 597], |
379 "bounds": [100, 50], | 379 "bounds": [100, 50], |
380 "contentsOpaque": true, | 380 "contentsOpaque": true, |
381 "drawsContent": true, | 381 "drawsContent": true, |
382 "backgroundColor": "#FFA500" | 382 "backgroundColor": "#FFA500" |
383 }, | 383 }, |
384 { | 384 { |
385 "position": [23, 656], | 385 "position": [23, 662], |
386 "bounds": [100, 50], | 386 "bounds": [100, 50], |
387 "contentsOpaque": true, | 387 "contentsOpaque": true, |
388 "drawsContent": true, | 388 "drawsContent": true, |
389 "backgroundColor": "#FFA500" | 389 "backgroundColor": "#FFA500" |
390 } | 390 } |
391 ] | 391 ] |
392 } | 392 } |
393 ] | 393 ] |
394 } | 394 } |
395 | 395 |
OLD | NEW |