| When the parent document becomes composited, the layer trees should get connected together. |
| |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [1200, 900], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [428, 345], |
| "contentsOpaqueForText": true, |
| "backgroundColor": "#C0C0C0", |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGBlockFlow DIV id='iframe-content' class='box'", |
| "bounds": [315, 315], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 2 |
| }, |
| { |
| "name": "ContentsLayer for Vertical Scrollbar Layer", |
| "position": [428, 0], |
| "bounds": [22, 225], |
| "transform": 1 |
| }, |
| { |
| "name": "LayoutNGBlockFlow DIV id='box' class='composited'", |
| "bounds": [150, 150], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 3 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [65, 215, 0, 1] |
| ] |
| }, |
| { |
| "id": 2, |
| "parent": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [27, 15, 0, 1] |
| ] |
| }, |
| { |
| "id": 3, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [12, 12, 0, 1] |
| ] |
| } |
| ] |
| } |
| |