blob: 17c62a58daa3df7cab93ce7ec42534e0f807c549 [file] [log] [blame]
When the parent document becomes composited, the layer trees should get connected together.
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutIFrame IFRAME id='iframe'",
"position": [-30, -30],
"bounds": [390, 240],
"transform": 1
},
{
"name": "Scrolling Contents Layer",
"bounds": [285, 230],
"backgroundColor": "#C0C0C0",
"transform": 2
},
{
"name": "LayoutBlockFlow DIV id='iframe-content' class='box'",
"bounds": [210, 210],
"contentsOpaque": true,
"backgroundColor": "#0000FF",
"transform": 3
},
{
"name": "LayoutBlockFlow DIV id='box' class='composited'",
"bounds": [100, 100],
"contentsOpaque": true,
"backgroundColor": "#0000FF",
"transform": 4
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[28, 128, 0, 1]
]
},
{
"id": 2,
"parent": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[15, 15, 0, 1]
]
},
{
"id": 3,
"parent": 2,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[18, 10, 0, 1]
]
},
{
"id": 4,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[8, 8, 0, 1]
]
}
]
}