| Layer tree when the fixed elements are out-of-view (should have just a root layer): |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1178, 6024], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV id='fixed1'", |
| "bounds": [15, 15], |
| "contentsOpaque": true, |
| "backgroundColor": "#C0C0C0", |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV id='fixed2'", |
| "contentsOpaque": true, |
| "drawsContent": false, |
| "backgroundColor": "#C0C0C0", |
| "transform": 2 |
| }, |
| { |
| "name": "ContentsLayer for Vertical Scrollbar Layer", |
| "position": [1178, 0], |
| "bounds": [22, 900], |
| "contentsOpaque": true |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [150, -150, 0, 1] |
| ] |
| }, |
| { |
| "id": 2, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [150, 150, 0, 1] |
| ] |
| } |
| ] |
| } |
| |
| Layer tree when the fixed elements are in-view (both fixed elements should have layers): |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1178, 6024], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV id='fixed1'", |
| "bounds": [15, 15], |
| "contentsOpaque": true, |
| "backgroundColor": "#C0C0C0", |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV id='fixed2'", |
| "bounds": [15, 15], |
| "contentsOpaque": true, |
| "backgroundColor": "#C0C0C0", |
| "transform": 2 |
| }, |
| { |
| "name": "ContentsLayer for Vertical Scrollbar Layer", |
| "position": [1178, 0], |
| "bounds": [22, 900], |
| "contentsOpaque": true |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [150, 75, 0, 1] |
| ] |
| }, |
| { |
| "id": 2, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [150, 150, 0, 1] |
| ] |
| } |
| ] |
| } |
| |
| Layer tree when the fixed elements are out-of-view again (should have just a root layer): |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1178, 6024], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV id='fixed1'", |
| "bounds": [15, 15], |
| "contentsOpaque": true, |
| "backgroundColor": "#C0C0C0", |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV id='fixed2'", |
| "contentsOpaque": true, |
| "drawsContent": false, |
| "transform": 2 |
| }, |
| { |
| "name": "ContentsLayer for Vertical Scrollbar Layer", |
| "position": [1178, 0], |
| "bounds": [22, 900], |
| "contentsOpaque": true |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [150, -150, 0, 1] |
| ] |
| }, |
| { |
| "id": 2, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [150, 150, 0, 1] |
| ] |
| } |
| ] |
| } |
| |