blob: e36bb54ce8e1f6dfd789a49fc4ce7176bcb1389d [file] [log] [blame]
Test CSS clip with composited layers. Left and right sides should look the same.
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [1200, 900],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='composited box'",
"position": [-7, -7],
"bounds": [165, 165],
"backgroundColor": "#808080",
"transform": 2
},
{
"name": "LayoutNGBlockFlow (relative positioned) DIV class='composited inner'",
"bounds": [180, 180],
"backgroundColor": "#00000033",
"transform": 4
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[30, 30, 0, 1]
]
},
{
"id": 2,
"parent": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 1.5, 1]
]
},
{
"id": 3,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[315, 15, 0, 1]
]
},
{
"id": 4,
"parent": 3,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 1.5, 1]
]
}
]
}