blob: bf9712015bf65e50a580bf3bf2a77cbcf3ea9a48 [file] [log] [blame]
Test CSS clip with composited layers. Left and right sides should look the same.
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutBlockFlow (positioned) DIV class='composited box'",
"bounds": [110, 110],
"backgroundColor": "#808080",
"transform": 2
},
{
"name": "Ancestor Clipping Layer",
"position": [215, 15],
"bounds": [110, 110],
"drawsContent": false
},
{
"name": "LayoutBlockFlow (relative positioned) DIV class='composited inner'",
"bounds": [120, 120],
"backgroundColor": "#00000033",
"transform": 4
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[15, 15, 0, 1]
]
},
{
"id": 2,
"parent": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 1, 1]
]
},
{
"id": 3,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[210, 10, 0, 1]
],
"flattenInheritedTransform": false
},
{
"id": 4,
"parent": 3,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 1, 1]
],
"flattenInheritedTransform": false
}
]
}