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 500.00 200.00 100.00) | |
51 (rect 0.00 400.00 200.00 100.00) | |
52 (rect 0.00 300.00 200.00 100.00) | |
chrishtr
2014/06/02 20:16:24
These repaints are because the layer they were squ
| |
50 (rect 0.00 200.00 200.00 100.00) | 53 (rect 0.00 200.00 200.00 100.00) |
51 (rect 0.00 100.00 200.00 100.00) | 54 (rect 0.00 100.00 200.00 100.00) |
52 ) | 55 ) |
53 (children 2 | 56 (children 2 |
54 (GraphicsLayer | 57 (GraphicsLayer |
55 (position 100.00 230.00) | 58 (position 100.00 230.00) |
56 (bounds 300.00 300.00) | 59 (bounds 300.00 300.00) |
57 (contentsOpaque 1) | 60 (contentsOpaque 1) |
58 (drawsContent 1) | 61 (drawsContent 1) |
59 (backgroundColor #D3D3D3) | 62 (backgroundColor #D3D3D3) |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 ) | 119 ) |
117 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint: | 120 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint: |
118 (GraphicsLayer | 121 (GraphicsLayer |
119 (bounds 785.00 1400.00) | 122 (bounds 785.00 1400.00) |
120 (children 1 | 123 (children 1 |
121 (GraphicsLayer | 124 (GraphicsLayer |
122 (bounds 785.00 1400.00) | 125 (bounds 785.00 1400.00) |
123 (contentsOpaque 1) | 126 (contentsOpaque 1) |
124 (drawsContent 1) | 127 (drawsContent 1) |
125 (repaint rects | 128 (repaint rects |
129 (rect 0.00 600.00 200.00 100.00) | |
130 (rect 0.00 500.00 200.00 100.00) | |
131 (rect 0.00 400.00 200.00 100.00) | |
chrishtr
2014/06/02 20:16:24
Similar situation to above.
| |
126 (rect 0.00 300.00 200.00 100.00) | 132 (rect 0.00 300.00 200.00 100.00) |
127 (rect 0.00 200.00 200.00 100.00) | 133 (rect 0.00 200.00 200.00 100.00) |
128 ) | 134 ) |
129 (children 2 | 135 (children 2 |
130 (GraphicsLayer | 136 (GraphicsLayer |
131 (position 100.00 320.00) | 137 (position 100.00 320.00) |
132 (bounds 300.00 300.00) | 138 (bounds 300.00 300.00) |
133 (contentsOpaque 1) | 139 (contentsOpaque 1) |
134 (drawsContent 1) | 140 (drawsContent 1) |
135 (backgroundColor #D3D3D3) | 141 (backgroundColor #D3D3D3) |
(...skipping 12 matching lines...) Expand all Loading... | |
148 (bounds 200.00 300.00) | 154 (bounds 200.00 300.00) |
149 (drawsContent 1) | 155 (drawsContent 1) |
150 ) | 156 ) |
151 ) | 157 ) |
152 ) | 158 ) |
153 ) | 159 ) |
154 ) | 160 ) |
155 ) | 161 ) |
156 ) | 162 ) |
157 | 163 |
OLD | NEW |