| 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 1 and 2, an
d its scrolling block selection layer (the child of the scrolling contents layer
) draws content only on iteration 3. 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 "contentsOpaque": true, | |
| 28 "shouldFlattenTransform": false, | |
| 29 "drawsContent": true, | |
| 30 "backgroundColor": "#0000FF", | |
| 31 "children": [ | |
| 32 { | |
| 33 "bounds": [285, 485], | |
| 34 "shouldFlattenTransform": false, | |
| 35 "children": [ | |
| 36 { | |
| 37 "bounds": [285, 665], | |
| 38 "drawsContent": true | |
| 39 } | |
| 40 ] | |
| 41 }, | |
| 42 { | |
| 43 "bounds": [300, 500], | |
| 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, 83], | |
| 64 "bounds": [100, 50], | |
| 65 "contentsOpaque": true, | |
| 66 "drawsContent": true, | |
| 67 "backgroundColor": "#FFA500" | |
| 68 }, | |
| 69 { | |
| 70 "position": [23, 148], | |
| 71 "bounds": [100, 50], | |
| 72 "contentsOpaque": true, | |
| 73 "drawsContent": true, | |
| 74 "backgroundColor": "#FFA500" | |
| 75 }, | |
| 76 { | |
| 77 "position": [23, 213], | |
| 78 "bounds": [100, 50], | |
| 79 "contentsOpaque": true, | |
| 80 "drawsContent": true, | |
| 81 "backgroundColor": "#FFA500" | |
| 82 }, | |
| 83 { | |
| 84 "position": [23, 278], | |
| 85 "bounds": [100, 50], | |
| 86 "contentsOpaque": true, | |
| 87 "drawsContent": true, | |
| 88 "backgroundColor": "#FFA500" | |
| 89 }, | |
| 90 { | |
| 91 "position": [23, 343], | |
| 92 "bounds": [100, 50], | |
| 93 "contentsOpaque": true, | |
| 94 "drawsContent": true, | |
| 95 "backgroundColor": "#FFA500" | |
| 96 }, | |
| 97 { | |
| 98 "position": [23, 408], | |
| 99 "bounds": [100, 50], | |
| 100 "contentsOpaque": true, | |
| 101 "drawsContent": true, | |
| 102 "backgroundColor": "#FFA500" | |
| 103 }, | |
| 104 { | |
| 105 "position": [23, 473], | |
| 106 "bounds": [100, 50], | |
| 107 "contentsOpaque": true, | |
| 108 "drawsContent": true, | |
| 109 "backgroundColor": "#FFA500" | |
| 110 }, | |
| 111 { | |
| 112 "position": [23, 538], | |
| 113 "bounds": [100, 50], | |
| 114 "contentsOpaque": true, | |
| 115 "drawsContent": true, | |
| 116 "backgroundColor": "#FFA500" | |
| 117 }, | |
| 118 { | |
| 119 "position": [23, 603], | |
| 120 "bounds": [100, 50], | |
| 121 "contentsOpaque": true, | |
| 122 "drawsContent": true, | |
| 123 "backgroundColor": "#FFA500" | |
| 124 }, | |
| 125 { | |
| 126 "position": [23, 668], | |
| 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, 2578], | |
| 142 "children": [ | |
| 143 { | |
| 144 "bounds": [785, 2578], | |
| 145 "contentsOpaque": true, | |
| 146 "drawsContent": true, | |
| 147 "children": [ | |
| 148 { | |
| 149 "position": [8, 68], | |
| 150 "bounds": [300, 500], | |
| 151 "contentsOpaque": true, | |
| 152 "shouldFlattenTransform": false, | |
| 153 "drawsContent": true, | |
| 154 "backgroundColor": "#0000FF", | |
| 155 "children": [ | |
| 156 { | |
| 157 "bounds": [285, 485], | |
| 158 "shouldFlattenTransform": false, | |
| 159 "children": [ | |
| 160 { | |
| 161 "bounds": [285, 665], | |
| 162 "drawsContent": true | |
| 163 } | |
| 164 ] | |
| 165 }, | |
| 166 { | |
| 167 "bounds": [300, 500], | |
| 168 "children": [ | |
| 169 { | |
| 170 "position": [0, 485], | |
| 171 "bounds": [285, 15] | |
| 172 }, | |
| 173 { | |
| 174 "position": [285, 0], | |
| 175 "bounds": [15, 485] | |
| 176 }, | |
| 177 { | |
| 178 "position": [285, 485], | |
| 179 "bounds": [15, 15], | |
| 180 "drawsContent": true | |
| 181 } | |
| 182 ] | |
| 183 } | |
| 184 ] | |
| 185 }, | |
| 186 { | |
| 187 "position": [23, 83], | |
| 188 "bounds": [100, 50], | |
| 189 "contentsOpaque": true, | |
| 190 "drawsContent": true, | |
| 191 "backgroundColor": "#FFA500" | |
| 192 }, | |
| 193 { | |
| 194 "position": [23, 148], | |
| 195 "bounds": [100, 50], | |
| 196 "contentsOpaque": true, | |
| 197 "drawsContent": true, | |
| 198 "backgroundColor": "#FFA500" | |
| 199 }, | |
| 200 { | |
| 201 "position": [23, 213], | |
| 202 "bounds": [100, 50], | |
| 203 "contentsOpaque": true, | |
| 204 "drawsContent": true, | |
| 205 "backgroundColor": "#FFA500" | |
| 206 }, | |
| 207 { | |
| 208 "position": [23, 278], | |
| 209 "bounds": [100, 50], | |
| 210 "contentsOpaque": true, | |
| 211 "drawsContent": true, | |
| 212 "backgroundColor": "#FFA500" | |
| 213 }, | |
| 214 { | |
| 215 "position": [23, 343], | |
| 216 "bounds": [100, 50], | |
| 217 "contentsOpaque": true, | |
| 218 "drawsContent": true, | |
| 219 "backgroundColor": "#FFA500" | |
| 220 }, | |
| 221 { | |
| 222 "position": [23, 408], | |
| 223 "bounds": [100, 50], | |
| 224 "contentsOpaque": true, | |
| 225 "drawsContent": true, | |
| 226 "backgroundColor": "#FFA500" | |
| 227 }, | |
| 228 { | |
| 229 "position": [23, 473], | |
| 230 "bounds": [100, 50], | |
| 231 "contentsOpaque": true, | |
| 232 "drawsContent": true, | |
| 233 "backgroundColor": "#FFA500" | |
| 234 }, | |
| 235 { | |
| 236 "position": [23, 538], | |
| 237 "bounds": [100, 50], | |
| 238 "contentsOpaque": true, | |
| 239 "drawsContent": true, | |
| 240 "backgroundColor": "#FFA500" | |
| 241 }, | |
| 242 { | |
| 243 "position": [23, 603], | |
| 244 "bounds": [100, 50], | |
| 245 "contentsOpaque": true, | |
| 246 "drawsContent": true, | |
| 247 "backgroundColor": "#FFA500" | |
| 248 }, | |
| 249 { | |
| 250 "position": [23, 668], | |
| 251 "bounds": [100, 50], | |
| 252 "contentsOpaque": true, | |
| 253 "drawsContent": true, | |
| 254 "backgroundColor": "#FFA500" | |
| 255 } | |
| 256 ] | |
| 257 } | |
| 258 ] | |
| 259 } | |
| 260 | |
| 261 | |
| 262 *** iteration 3: *** | |
| 263 | |
| 264 { | |
| 265 "bounds": [785, 4562], | |
| 266 "children": [ | |
| 267 { | |
| 268 "bounds": [785, 4562], | |
| 269 "contentsOpaque": true, | |
| 270 "drawsContent": true, | |
| 271 "children": [ | |
| 272 { | |
| 273 "position": [8, 68], | |
| 274 "bounds": [300, 500], | |
| 275 "shouldFlattenTransform": false, | |
| 276 "drawsContent": true, | |
| 277 "children": [ | |
| 278 { | |
| 279 "bounds": [285, 485], | |
| 280 "shouldFlattenTransform": false, | |
| 281 "children": [ | |
| 282 { | |
| 283 "bounds": [285, 665] | |
| 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 |