blob: 6a01c21a48427e309d8f1b6954848a6a421d68e4 [file] [log] [blame]
CASE 1, original layer tree
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [1200, 900],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='composited box behind'",
"bounds": [150, 150],
"contentsOpaque": true,
"backgroundColor": "#0000FF",
"transform": 1
},
{
"name": "Squashing Layer (first squashed layer: LayoutNGBlockFlow (positioned) DIV class='box middle')",
"position": [-152, -152],
"bounds": [422, 422],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[150, 150, 0, 1]
]
}
]
}
CASE 2, hovering over the outer div
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [1200, 900],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='composited box behind'",
"bounds": [150, 150],
"contentsOpaque": true,
"backgroundColor": "#0000FF",
"transform": 1
},
{
"name": "Squashing Layer (first squashed layer: LayoutNGBlockFlow (positioned) DIV class='box middle')",
"position": [-152, -152],
"bounds": [422, 422],
"invalidations": [
[0, 0, 214, 214]
],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[150, 150, 0, 1]
]
}
]
}
CASE 3, hovering over the inner div
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [1200, 900],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='composited box behind'",
"bounds": [150, 150],
"contentsOpaque": true,
"backgroundColor": "#0000FF",
"transform": 1
},
{
"name": "Squashing Layer (first squashed layer: LayoutNGBlockFlow (positioned) DIV class='box middle')",
"position": [-152, -152],
"bounds": [422, 422],
"invalidations": [
[0, 0, 214, 214]
],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[150, 150, 0, 1]
]
}
]
}