blob: b17ee7efb7b805c0ed9ee3a221a6ecc387dda412 [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 top')",
"position": [120, 120],
"bounds": [150, 150],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[75, 75, 0, 1]
]
}
]
}
CASE 2, change color of "inner" to red
{
"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 top')",
"position": [120, 120],
"bounds": [150, 150],
"invalidations": [
[15, 15, 75, 75]
],
"transform": 1
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[75, 75, 0, 1]
]
}
]
}