blob: a33a3d84308a7a36fbce441273832d789424e58a [file] [log] [blame]
PASS layerTree is window.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": "LayoutView #document",
"bounds": [2008, 2016],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransformed fixed'",
"bounds": [50, 50],
"contentsOpaque": true,
"backgroundColor": "#C0C0C0",
"transform": 2
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[20, -80, 0, 1]
]
},
{
"id": 2,
"parent": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 100, 0, 1]
]
}
]
}
AFTER:
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [2008, 2016],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"transform": 1
},
{
"name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransformed fixed'",
"bounds": [50, 50],
"contentsOpaque": true,
"backgroundColor": "#C0C0C0",
"transform": 3
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, -10, 0, 1]
]
},
{
"id": 2,
"parent": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[20, -70, 0, 1]
]
},
{
"id": 3,
"parent": 2,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 100, 0, 1]
]
}
]
}