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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "children": [ | 45 "children": [ |
46 { | 46 { |
47 "bounds": [785, 1400], | 47 "bounds": [785, 1400], |
48 "contentsOpaque": true, | 48 "contentsOpaque": true, |
49 "drawsContent": true, | 49 "drawsContent": true, |
50 "repaintRects": [ | 50 "repaintRects": [ |
51 [0, 500, 200, 100], | 51 [0, 500, 200, 100], |
52 [0, 200, 200, 100], | 52 [0, 200, 200, 100], |
53 [0, 100, 200, 100], | 53 [0, 100, 200, 100], |
54 [0, 100, 200, 100], | 54 [0, 100, 200, 100], |
55 [0, 0, 200, 100], | |
56 [0, 0, 200, 100] | 55 [0, 0, 200, 100] |
57 ], | 56 ], |
58 "children": [ | 57 "children": [ |
59 { | 58 { |
60 "position": [100, 230], | 59 "position": [100, 230], |
61 "bounds": [300, 300], | 60 "bounds": [300, 300], |
62 "contentsOpaque": true, | 61 "contentsOpaque": true, |
63 "drawsContent": true, | 62 "drawsContent": true, |
64 "backgroundColor": "#D3D3D3" | 63 "backgroundColor": "#D3D3D3" |
65 }, | 64 }, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "children": [ | 134 "children": [ |
136 { | 135 { |
137 "bounds": [785, 1400], | 136 "bounds": [785, 1400], |
138 "contentsOpaque": true, | 137 "contentsOpaque": true, |
139 "drawsContent": true, | 138 "drawsContent": true, |
140 "repaintRects": [ | 139 "repaintRects": [ |
141 [0, 600, 200, 100], | 140 [0, 600, 200, 100], |
142 [0, 200, 200, 100], | 141 [0, 200, 200, 100], |
143 [0, 200, 200, 100], | 142 [0, 200, 200, 100], |
144 [0, 100, 200, 100], | 143 [0, 100, 200, 100], |
145 [0, 0, 200, 100], | |
146 [0, 0, 200, 100] | 144 [0, 0, 200, 100] |
147 ], | 145 ], |
148 "children": [ | 146 "children": [ |
149 { | 147 { |
150 "position": [100, 320], | 148 "position": [100, 320], |
151 "bounds": [300, 300], | 149 "bounds": [300, 300], |
152 "contentsOpaque": true, | 150 "contentsOpaque": true, |
153 "drawsContent": true, | 151 "drawsContent": true, |
154 "backgroundColor": "#D3D3D3" | 152 "backgroundColor": "#D3D3D3" |
155 }, | 153 }, |
(...skipping 20 matching lines...) Expand all Loading... |
176 [0, 0, 200, 100] | 174 [0, 0, 200, 100] |
177 ] | 175 ] |
178 } | 176 } |
179 ] | 177 ] |
180 } | 178 } |
181 ] | 179 ] |
182 } | 180 } |
183 ] | 181 ] |
184 } | 182 } |
185 | 183 |
OLD | NEW |