| 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. |
| |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1200, 6036], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV class='absolute composited red box'", |
| "bounds": [150, 150], |
| "contentsOpaque": true, |
| "backgroundColor": "#FF0000", |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV class='fixed lime box'", |
| "position": [15, 150], |
| "bounds": [150, 150], |
| "contentsOpaque": true, |
| "backgroundColor": "#00FF00" |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [15, 150, 0, 1] |
| ] |
| } |
| ] |
| } |
| |