blob: a3287f8c413babacc25a4f058cc913121e97b263 [file] [log] [blame]
The green box appear angled out from the yellow box and embedded in it.
transform: translateZ(-100px) rotateY(45deg);
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (relative positioned) DIV id='container'",
"position": [108, 73],
"bounds": [304, 304]
},
{
"name": "LayoutNGBlockFlow DIV id='parent'",
"bounds": [280, 280],
"contentsOpaque": true,
"backgroundColor": "#FFFF00",
"transform": 3
},
{
"name": "LayoutNGBlockFlow (positioned) DIV",
"bounds": [200, 200],
"contentsOpaque": true,
"backgroundColor": "#008000",
"transform": 5
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, -0.002],
[0, 0, 0, 1]
],
"origin": [260, 225]
},
{
"id": 2,
"parent": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[120, 85, 0, 1]
],
"flattenInheritedTransform": false
},
{
"id": 3,
"parent": 2,
"transform": [
[0.766044443118978, -0.556670399226419, -0.32139380484327, 0],
[0, 0.5, -0.866025403784439, 0],
[0.642787609686539, 0.663413948168938, 0.383022221559489, 0],
[0, 0, 0, 1]
],
"origin": [140, 140],
"flattenInheritedTransform": false,
"renderingContext": 1
},
{
"id": 4,
"parent": 3,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[40, 40, 0, 1]
],
"flattenInheritedTransform": false,
"renderingContext": 1
},
{
"id": 5,
"parent": 4,
"transform": [
[0.766044443118978, 0, 0.642787609686539, 0],
[0, 1, 0, 0],
[-0.642787609686539, 0, 0.766044443118978, 0],
[0, 0, 50, 1]
],
"origin": [100, 100],
"flattenInheritedTransform": false,
"renderingContext": 1
}
]
}