OLD | NEW |
1 This scenario verifies that the cyan "container" element scrolls properly with s
quashing enabled. | 1 This scenario verifies that the cyan "container" element scrolls properly with s
quashing enabled. |
2 | 2 |
3 CASE 1, original layer tree: | 3 CASE 1, original layer tree: |
4 (GraphicsLayer | 4 (GraphicsLayer |
5 (bounds 785.00 4050.00) | 5 (bounds 785.00 4050.00) |
6 (children 1 | 6 (children 1 |
7 (GraphicsLayer | 7 (GraphicsLayer |
8 (bounds 785.00 4050.00) | 8 (bounds 785.00 4050.00) |
9 (contentsOpaque 1) | 9 (contentsOpaque 1) |
10 (drawsContent 1) | 10 (drawsContent 1) |
11 (children 2 | 11 (children 2 |
12 (GraphicsLayer | 12 (GraphicsLayer |
13 (bounds 400.00 200.00) | 13 (bounds 400.00 200.00) |
14 (contentsOpaque 1) | 14 (contentsOpaque 1) |
15 (drawsContent 1) | |
16 (backgroundColor #0000FF) | |
17 (children 1 | 15 (children 1 |
18 (GraphicsLayer | 16 (GraphicsLayer |
19 (bounds 50.00 50.00) | 17 (bounds 50.00 50.00) |
20 (contentsOpaque 1) | 18 (contentsOpaque 1) |
21 (drawsContent 1) | |
22 (backgroundColor #FF0000) | |
23 ) | 19 ) |
24 ) | 20 ) |
25 ) | 21 ) |
26 (GraphicsLayer | 22 (GraphicsLayer |
27 (position 100.00 50.00) | 23 (position 100.00 50.00) |
28 (bounds 200.00 4000.00) | 24 (bounds 200.00 4000.00) |
29 (contentsOpaque 1) | 25 (contentsOpaque 1) |
30 (drawsContent 1) | |
31 (backgroundColor #00FFFF) | |
32 ) | 26 ) |
33 ) | 27 ) |
34 ) | 28 ) |
35 ) | 29 ) |
36 ) | 30 ) |
37 CASE 2, scrolling y to 80, the "container" element should remain positioned with
respect to the scrolled document, the fixed-pos layer compensates for the new s
croll position: | 31 CASE 2, scrolling y to 80, the "container" element should remain positioned with
respect to the scrolled document, the fixed-pos layer compensates for the new s
croll position: |
38 (GraphicsLayer | 32 (GraphicsLayer |
39 (bounds 785.00 4050.00) | 33 (bounds 785.00 4050.00) |
40 (children 1 | 34 (children 1 |
41 (GraphicsLayer | 35 (GraphicsLayer |
42 (bounds 785.00 4050.00) | 36 (bounds 785.00 4050.00) |
43 (contentsOpaque 1) | 37 (contentsOpaque 1) |
44 (drawsContent 1) | 38 (drawsContent 1) |
45 (children 2 | 39 (children 2 |
46 (GraphicsLayer | 40 (GraphicsLayer |
47 (position 0.00 80.00) | 41 (position 0.00 80.00) |
48 (bounds 400.00 200.00) | 42 (bounds 400.00 200.00) |
49 (contentsOpaque 1) | 43 (contentsOpaque 1) |
50 (drawsContent 1) | |
51 (backgroundColor #0000FF) | |
52 (children 1 | 44 (children 1 |
53 (GraphicsLayer | 45 (GraphicsLayer |
54 (bounds 50.00 50.00) | 46 (bounds 50.00 50.00) |
55 (contentsOpaque 1) | 47 (contentsOpaque 1) |
56 (drawsContent 1) | |
57 (backgroundColor #FF0000) | |
58 ) | 48 ) |
59 ) | 49 ) |
60 ) | 50 ) |
61 (GraphicsLayer | 51 (GraphicsLayer |
62 (position 100.00 50.00) | 52 (position 100.00 50.00) |
63 (bounds 200.00 4000.00) | 53 (bounds 200.00 4000.00) |
64 (contentsOpaque 1) | 54 (contentsOpaque 1) |
65 (drawsContent 1) | |
66 (backgroundColor #00FFFF) | |
67 ) | 55 ) |
68 ) | 56 ) |
69 ) | 57 ) |
70 ) | 58 ) |
71 ) | 59 ) |
72 | 60 |
OLD | NEW |