blob: 914d19a28041d3def43591ce1f899a5f07f36dce [file] [log] [blame]
PASS layerTree is internals.layerTreeAsText(document)
PASS successfullyParsed is true
TEST COMPLETE
The layer trees before and after should be the same, except for the position of the 50x50 sized composited fixed position layer.
BEFORE:
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [3012, 3024],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='positionedAndTransformed fixed'",
"position": [0, 150],
"bounds": [75, 75],
"contentsOpaque": true,
"backgroundColor": "#C0C0C0",
"transform": 1
},
{
"name": "ContentsLayer for Horizontal Scrollbar Layer",
"position": [0, 878],
"bounds": [1178, 22],
"contentsOpaque": true
},
{
"name": "ContentsLayer for Vertical Scrollbar Layer",
"position": [1178, 0],
"bounds": [22, 878],
"contentsOpaque": true
},
{
"name": "Scroll Corner Layer",
"position": [1178, 878],
"bounds": [22, 22]
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[30, -120, 0, 1]
]
}
]
}
AFTER:
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [3012, 3024],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"transform": 1
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='positionedAndTransformed fixed'",
"position": [0, 150],
"bounds": [75, 75],
"contentsOpaque": true,
"backgroundColor": "#C0C0C0",
"transform": 2
},
{
"name": "ContentsLayer for Horizontal Scrollbar Layer",
"position": [0, 878],
"bounds": [1178, 22],
"contentsOpaque": true
},
{
"name": "ContentsLayer for Vertical Scrollbar Layer",
"position": [1178, 0],
"bounds": [22, 878],
"contentsOpaque": true
},
{
"name": "Scroll Corner Layer",
"position": [1178, 878],
"bounds": [22, 22]
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, -15, 0, 1]
]
},
{
"id": 2,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[30, -120, 0, 1]
]
}
]
}