blob: 5b00fecc8c3ec7ff5b2216353ea74d02e542e8f6 [file] [log] [blame]
Even though the fixed-position element's container is nonscrollable, it should still be composited because one of its ancestors is scrolling.
{
"layers": [
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF"
},
{
"name": "LayoutBlockFlow DIV class='scrollable bigBox'",
"bounds": [302, 302],
"transform": 1
},
{
"name": "ContentsLayer for Horizontal Scrollbar Layer",
"position": [1, 286],
"bounds": [285, 15],
"transform": 1
},
{
"name": "ContentsLayer for Vertical Scrollbar Layer",
"position": [286, 1],
"bounds": [15, 285],
"transform": 1
},
{
"name": "Scroll Corner Layer",
"position": [286, 286],
"bounds": [15, 15],
"transform": 1
},
{
"name": "Scrolling Contents Layer",
"position": [1, 1],
"bounds": [285, 800],
"transform": 1
},
{
"name": "LayoutBlockFlow (positioned) DIV class='fixed lime box'",
"position": [10, 100],
"bounds": [100, 100],
"contentsOpaque": true,
"backgroundColor": "#00FF00"
}
],
"transforms": [
{
"id": 1,
"transform": [
[1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[8, 72, 0, 1]
]
}
]
}