1 Test overlap is rendered correctly when hovering over elements
3 Case 1, original layer tree:
9 "contentsOpaque": true,
19 "position": [100, 100],
21 "contentsOpaque": true,
23 "backgroundColor": "#0000FF"
26 "position": [180, 180],
36 Case 2: hovering over the "middle" element (causes that div to become its own composited layer)
42 "contentsOpaque": true,
50 "position": [100, 100],
52 "contentsOpaque": true,
54 "backgroundColor": "#0000FF"
59 "position": [180, 180],
61 "contentsOpaque": true,
63 "backgroundColor": "#008000"
66 "position": [260, 260],
76 Case 3: hovering over the "middle2" element (causes that div to become its own composited layer)
82 "contentsOpaque": true,
92 "position": [100, 100],
94 "contentsOpaque": true,
96 "backgroundColor": "#0000FF"
99 "position": [180, 180],
100 "bounds": [100, 100],
108 "position": [260, 260],
109 "bounds": [100, 100],
110 "contentsOpaque": true,
111 "drawsContent": true,
112 "backgroundColor": "#008000"
115 "position": [340, 340],
116 "bounds": [100, 100],
125 Case 4: hovering over the "top" element (causes that div to become its own composited layer)
127 "bounds": [800, 600],
130 "bounds": [800, 600],
131 "contentsOpaque": true,
132 "drawsContent": true,
141 "position": [100, 100],
142 "bounds": [100, 100],
143 "contentsOpaque": true,
144 "drawsContent": true,
145 "backgroundColor": "#0000FF"
148 "position": [180, 180],
149 "bounds": [180, 180],
155 "position": [340, 340],
156 "bounds": [100, 100],
157 "contentsOpaque": true,
158 "drawsContent": true,
159 "backgroundColor": "#008000"
165 Case 5: back to situation in case 1
167 "bounds": [800, 600],
170 "bounds": [800, 600],
171 "contentsOpaque": true,
172 "drawsContent": true,
181 "position": [100, 100],
182 "bounds": [100, 100],
183 "contentsOpaque": true,
184 "drawsContent": true,
185 "backgroundColor": "#0000FF"
188 "position": [180, 180],
189 "bounds": [260, 260],