1 Test overlap is rendered correctly when hovering over elements
3 Case 1, original layer tree:
9 "contentsOpaque": true,
17 "shouldFlattenTransform": false,
20 "position": [100, 100],
22 "contentsOpaque": true,
24 "backgroundColor": "#0000FF"
27 "position": [180, 180],
37 Case 2: hovering over the "middle" element (causes that div to become its own composited layer)
43 "contentsOpaque": true,
51 "position": [100, 100],
53 "contentsOpaque": true,
55 "backgroundColor": "#0000FF"
58 "shouldFlattenTransform": false,
61 "position": [180, 180],
63 "contentsOpaque": true,
65 "backgroundColor": "#008000"
68 "position": [260, 260],
78 Case 3: hovering over the "middle2" element (causes that div to become its own composited layer)
84 "contentsOpaque": true,
92 "shouldFlattenTransform": false,
95 "position": [100, 100],
97 "contentsOpaque": true,
99 "backgroundColor": "#0000FF"
102 "position": [180, 180],
103 "bounds": [100, 100],
109 "shouldFlattenTransform": false,
112 "position": [260, 260],
113 "bounds": [100, 100],
114 "contentsOpaque": true,
115 "drawsContent": true,
116 "backgroundColor": "#008000"
119 "position": [340, 340],
120 "bounds": [100, 100],
129 Case 4: hovering over the "top" element (causes that div to become its own composited layer)
131 "bounds": [800, 600],
134 "bounds": [800, 600],
135 "contentsOpaque": true,
136 "drawsContent": true,
143 "shouldFlattenTransform": false,
146 "position": [100, 100],
147 "bounds": [100, 100],
148 "contentsOpaque": true,
149 "drawsContent": true,
150 "backgroundColor": "#0000FF"
153 "position": [180, 180],
154 "bounds": [180, 180],
160 "position": [340, 340],
161 "bounds": [100, 100],
162 "contentsOpaque": true,
163 "drawsContent": true,
164 "backgroundColor": "#008000"
170 Case 5: back to situation in case 1
172 "bounds": [800, 600],
175 "bounds": [800, 600],
176 "contentsOpaque": true,
177 "drawsContent": true,
184 "shouldFlattenTransform": false,
187 "position": [100, 100],
188 "bounds": [100, 100],
189 "contentsOpaque": true,
190 "drawsContent": true,
191 "backgroundColor": "#0000FF"
194 "position": [180, 180],
195 "bounds": [260, 260],