OLD | NEW |
1 The gray div is a composited fixed-position element, and the cyan/lime elements
should be squashed together on top. When scrolling, paragraphs may pop in-and-ou
t of the squashing layer when they change overlapping status with respect to the
composited layer underneath. | 1 The gray div is a composited fixed-position element, and the cyan/lime elements
should be squashed together on top. When scrolling, paragraphs may pop in-and-ou
t of the squashing layer when they change overlapping status with respect to the
composited layer underneath. |
2 | 2 |
3 This scenario tests (1) that content repaints correctly as layers pop in and out
of squashing, and (2) that the positioning of the squashing layer remains corre
ct (i.e. scrolls properly) when the squashing layer is on top of a fixed-positio
n composited layer. | 3 This scenario tests (1) that content repaints correctly as layers pop in and out
of squashing, and (2) that the positioning of the squashing layer remains corre
ct (i.e. scrolls properly) when the squashing layer is on top of a fixed-positio
n composited layer. |
4 | 4 |
5 CASE 1, original layer tree: | 5 CASE 1, original layer tree: |
6 (GraphicsLayer | 6 (GraphicsLayer |
7 (bounds 785.00 1400.00) | 7 (bounds 785.00 1400.00) |
8 (children 1 | 8 (children 1 |
9 (GraphicsLayer | 9 (GraphicsLayer |
10 (bounds 785.00 1400.00) | 10 (bounds 785.00 1400.00) |
(...skipping 29 matching lines...) Expand all Loading... |
40 ) | 40 ) |
41 CASE 2, scrolling y to 80, new layers will be squashed, so things repaint: | 41 CASE 2, scrolling y to 80, new layers will be squashed, so things repaint: |
42 (GraphicsLayer | 42 (GraphicsLayer |
43 (bounds 785.00 1400.00) | 43 (bounds 785.00 1400.00) |
44 (children 1 | 44 (children 1 |
45 (GraphicsLayer | 45 (GraphicsLayer |
46 (bounds 785.00 1400.00) | 46 (bounds 785.00 1400.00) |
47 (contentsOpaque 1) | 47 (contentsOpaque 1) |
48 (drawsContent 1) | 48 (drawsContent 1) |
49 (repaint rects | 49 (repaint rects |
| 50 (rect 0.00 200.00 200.00 100.00) |
50 (rect 0.00 100.00 200.00 100.00) | 51 (rect 0.00 100.00 200.00 100.00) |
51 (rect 0.00 200.00 200.00 100.00) | |
52 ) | 52 ) |
53 (children 2 | 53 (children 2 |
54 (GraphicsLayer | 54 (GraphicsLayer |
55 (position 100.00 230.00) | 55 (position 100.00 230.00) |
56 (bounds 300.00 300.00) | 56 (bounds 300.00 300.00) |
57 (contentsOpaque 1) | 57 (contentsOpaque 1) |
58 (drawsContent 1) | 58 (drawsContent 1) |
59 (backgroundColor #D3D3D3) | 59 (backgroundColor #D3D3D3) |
60 ) | 60 ) |
61 (GraphicsLayer | 61 (GraphicsLayer |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 ) | 116 ) |
117 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint: | 117 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint: |
118 (GraphicsLayer | 118 (GraphicsLayer |
119 (bounds 785.00 1400.00) | 119 (bounds 785.00 1400.00) |
120 (children 1 | 120 (children 1 |
121 (GraphicsLayer | 121 (GraphicsLayer |
122 (bounds 785.00 1400.00) | 122 (bounds 785.00 1400.00) |
123 (contentsOpaque 1) | 123 (contentsOpaque 1) |
124 (drawsContent 1) | 124 (drawsContent 1) |
125 (repaint rects | 125 (repaint rects |
| 126 (rect 0.00 300.00 200.00 100.00) |
126 (rect 0.00 200.00 200.00 100.00) | 127 (rect 0.00 200.00 200.00 100.00) |
127 (rect 0.00 300.00 200.00 100.00) | |
128 ) | 128 ) |
129 (children 2 | 129 (children 2 |
130 (GraphicsLayer | 130 (GraphicsLayer |
131 (position 100.00 320.00) | 131 (position 100.00 320.00) |
132 (bounds 300.00 300.00) | 132 (bounds 300.00 300.00) |
133 (contentsOpaque 1) | 133 (contentsOpaque 1) |
134 (drawsContent 1) | 134 (drawsContent 1) |
135 (backgroundColor #D3D3D3) | 135 (backgroundColor #D3D3D3) |
136 ) | 136 ) |
137 (GraphicsLayer | 137 (GraphicsLayer |
(...skipping 10 matching lines...) Expand all Loading... |
148 (bounds 200.00 300.00) | 148 (bounds 200.00 300.00) |
149 (drawsContent 1) | 149 (drawsContent 1) |
150 ) | 150 ) |
151 ) | 151 ) |
152 ) | 152 ) |
153 ) | 153 ) |
154 ) | 154 ) |
155 ) | 155 ) |
156 ) | 156 ) |
157 | 157 |
OLD | NEW |