OLD | NEW |
1 Even though we can opt-out of fixed-position compositing for unscrollable fixed-
position containers, we still need to composite fixed-position layers that need
compositing for other reasons such as overlap. | 1 Even though we can opt-out of fixed-position compositing for unscrollable fixed-
position containers, we still need to composite fixed-position layers that need
compositing for other reasons such as overlap. |
2 | 2 |
3 { | 3 { |
4 "bounds": [800, 4024], | 4 "bounds": [800, 4024], |
5 "children": [ | 5 "children": [ |
6 { | 6 { |
7 "bounds": [800, 4024], | 7 "bounds": [800, 4024], |
8 "contentsOpaque": true, | 8 "contentsOpaque": true, |
9 "drawsContent": true, | 9 "drawsContent": true, |
10 "children": [ | 10 "children": [ |
11 { | 11 { |
12 "position": [10, 100], | 12 "position": [10, 100], |
13 "bounds": [100, 100], | 13 "bounds": [100, 100], |
14 "contentsOpaque": true, | 14 "contentsOpaque": true, |
15 "drawsContent": true, | 15 "drawsContent": true, |
16 "backgroundColor": "#FF0000" | 16 "backgroundColor": "#FF0000" |
17 }, | 17 }, |
18 { | 18 { |
19 "position": [10, 100], | 19 "position": [10, 100], |
20 "bounds": [100, 100], | 20 "bounds": [100, 100], |
21 "contentsOpaque": true, | 21 "contentsOpaque": true, |
22 "drawsContent": true, | 22 "drawsContent": true, |
23 "backgroundColor": "#00FF00" | 23 "backgroundColor": "#00FF00" |
24 } | 24 } |
25 ] | 25 ] |
26 } | 26 } |
27 ] | 27 ] |
28 } | 28 } |
29 | 29 |
OLD | NEW |