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 { | 6 { |
7 "bounds": [785, 1400], | 7 "bounds": [785, 1400], |
8 "children": [ | 8 "children": [ |
9 { | 9 { |
10 "bounds": [785, 1400], | 10 "bounds": [785, 1400], |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 }, | 63 }, |
64 { | 64 { |
65 "children": [ | 65 "children": [ |
66 { | 66 { |
67 "position": [0, 200], | 67 "position": [0, 200], |
68 "bounds": [200, 100], | 68 "bounds": [200, 100], |
69 "contentsOpaque": true, | 69 "contentsOpaque": true, |
70 "drawsContent": true, | 70 "drawsContent": true, |
71 "backgroundColor": "#00FFFF", | 71 "backgroundColor": "#00FFFF", |
72 "repaintRects": [ | 72 "repaintRects": [ |
73 [0, 0, 200, 100], | |
74 [0, 0, 200, 100] | 73 [0, 0, 200, 100] |
75 ] | 74 ] |
76 }, | 75 }, |
77 { | 76 { |
78 "position": [0, 300], | 77 "position": [0, 300], |
79 "bounds": [200, 300], | 78 "bounds": [200, 300], |
80 "drawsContent": true, | 79 "drawsContent": true, |
81 "repaintRects": [ | 80 "repaintRects": [ |
82 [0, 200, 200, 100], | 81 [0, 200, 200, 100], |
83 [0, 100, 200, 100], | 82 [0, 100, 200, 100], |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 }, | 150 }, |
152 { | 151 { |
153 "children": [ | 152 "children": [ |
154 { | 153 { |
155 "position": [0, 300], | 154 "position": [0, 300], |
156 "bounds": [200, 100], | 155 "bounds": [200, 100], |
157 "contentsOpaque": true, | 156 "contentsOpaque": true, |
158 "drawsContent": true, | 157 "drawsContent": true, |
159 "backgroundColor": "#00FF00", | 158 "backgroundColor": "#00FF00", |
160 "repaintRects": [ | 159 "repaintRects": [ |
161 [0, 0, 200, 100], | |
162 [0, 0, 200, 100] | 160 [0, 0, 200, 100] |
163 ] | 161 ] |
164 }, | 162 }, |
165 { | 163 { |
166 "position": [0, 400], | 164 "position": [0, 400], |
167 "bounds": [200, 300], | 165 "bounds": [200, 300], |
168 "drawsContent": true, | 166 "drawsContent": true, |
169 "repaintRects": [ | 167 "repaintRects": [ |
170 [0, 200, 200, 100], | 168 [0, 200, 200, 100], |
171 [0, 100, 200, 100], | 169 [0, 100, 200, 100], |
172 [0, 0, 200, 100] | 170 [0, 0, 200, 100] |
173 ] | 171 ] |
174 } | 172 } |
175 ] | 173 ] |
176 } | 174 } |
177 ] | 175 ] |
178 } | 176 } |
179 ] | 177 ] |
180 } | 178 } |
181 | 179 |
OLD | NEW |