blob: a9d8df1bcf3d8b630760f73079cb0776a426b4af [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 background of LayoutView #document",
"bounds": [2008, 2016],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='positionedAndTransformed fixed'",
"position": [0, 100],
"bounds": [50, 50],
"contentsOpaque": true,
"backgroundColor": "#C0C0C0",
"transform": 1
},
{
"name": "HorizontalScrollbar",
"position": [0, 585],
"bounds": [785, 15]
},
{
"name": "VerticalScrollbar",
"position": [785, 0],
"bounds": [15, 585]
},
{
"name": "Scroll corner of LayoutView #document",
"position": [785, 585],
"bounds": [15, 15],
"contentsOpaque": true
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[20, -80, 0, 1]
]
}
]
}
AFTER:
{
"layers": [
{
"name": "Scrolling background of LayoutView #document",
"bounds": [2008, 2016],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"transform": 1
},
{
"name": "LayoutNGBlockFlow (positioned) DIV class='positionedAndTransformed fixed'",
"position": [0, 100],
"bounds": [50, 50],
"contentsOpaque": true,
"backgroundColor": "#C0C0C0",
"transform": 2
},
{
"name": "HorizontalScrollbar",
"position": [0, 585],
"bounds": [785, 15]
},
{
"name": "VerticalScrollbar",
"position": [785, 0],
"bounds": [15, 585]
},
{
"name": "Scroll corner of LayoutView #document",
"position": [785, 585],
"bounds": [15, 15],
"contentsOpaque": true
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, -10, 0, 1]
]
},
{
"id": 2,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[20, -80, 0, 1]
]
}
]
}