| OLD | NEW |
| 1 This scenario verifies that the green "container" element and lime "innerScrolli
ng" element scroll properly even though there is a blue fixed-position element l
ayered in between them. | 1 This scenario verifies that the green "container" element and lime "innerScrolli
ng" element scroll properly even though there is a blue fixed-position element l
ayered in between them. |
| 2 | 2 |
| 3 The catch is that the squashing requirements should be computed in correct paint
order, so that the green container does not accidentally position itself with r
espect to the wrong layer and not scroll. | 3 The catch is that the squashing requirements should be computed in correct paint
order, so that the green container does not accidentally position itself with r
espect to the wrong layer and not scroll. |
| 4 | 4 |
| 5 CASE 1, original layer tree: | 5 CASE 1, original layer tree: |
| 6 { | 6 { |
| 7 "bounds": [785, 4100], | 7 "bounds": [785, 4100], |
| 8 "children": [ | 8 "children": [ |
| 9 { | 9 { |
| 10 "bounds": [785, 4100], | 10 "bounds": [785, 4100], |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 "drawsContent": true, | 119 "drawsContent": true, |
| 120 "backgroundColor": "#0000FF" | 120 "backgroundColor": "#0000FF" |
| 121 } | 121 } |
| 122 ] | 122 ] |
| 123 } | 123 } |
| 124 ] | 124 ] |
| 125 } | 125 } |
| 126 ] | 126 ] |
| 127 } | 127 } |
| 128 | 128 |
| OLD | NEW |