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 "name": "Content Root Layer", |
4 "bounds": [800, 4024], | 5 "bounds": [800, 4024], |
5 "children": [ | 6 "children": [ |
6 { | 7 { |
| 8 "name": "LayoutView #document", |
7 "bounds": [800, 4024], | 9 "bounds": [800, 4024], |
8 "contentsOpaque": true, | 10 "contentsOpaque": true, |
9 "drawsContent": true, | 11 "drawsContent": true, |
10 "children": [ | 12 "children": [ |
11 { | 13 { |
| 14 "name": "LayoutBlockFlow (positioned) DIV class='absolute composited r
ed box'", |
12 "position": [10, 100], | 15 "position": [10, 100], |
13 "bounds": [100, 100], | 16 "bounds": [100, 100], |
14 "contentsOpaque": true, | 17 "contentsOpaque": true, |
15 "drawsContent": true, | 18 "drawsContent": true, |
16 "backgroundColor": "#FF0000" | 19 "backgroundColor": "#FF0000" |
17 }, | 20 }, |
18 { | 21 { |
| 22 "name": "LayoutBlockFlow (positioned) DIV class='fixed lime box'", |
19 "position": [10, 100], | 23 "position": [10, 100], |
20 "bounds": [100, 100], | 24 "bounds": [100, 100], |
21 "contentsOpaque": true, | 25 "contentsOpaque": true, |
22 "drawsContent": true, | 26 "drawsContent": true, |
23 "backgroundColor": "#00FF00" | 27 "backgroundColor": "#00FF00" |
24 } | 28 } |
25 ] | 29 ] |
26 } | 30 } |
27 ] | 31 ] |
28 } | 32 } |
29 | 33 |
OLD | NEW |