| 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": "LayoutNGBlockFlow DIV class='scrollable bigBox'", |
| "bounds": [302, 302], |
| "transform": 1 |
| }, |
| { |
| "name": "Scrolling Contents Layer", |
| "position": [1, 1], |
| "bounds": [285, 800], |
| "transform": 2 |
| }, |
| { |
| "name": "Scroll Corner Layer", |
| "position": [286, 286], |
| "bounds": [15, 15], |
| "transform": 3 |
| }, |
| { |
| "name": "LayoutNGBlockFlow (positioned) DIV class='fixed lime box'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#00FF00", |
| "transform": 4 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [8, 68, 0, 1] |
| ] |
| }, |
| { |
| "id": 2, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [8, 68, 0, 1] |
| ] |
| }, |
| { |
| "id": 3, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [8, 68, 0, 1] |
| ] |
| }, |
| { |
| "id": 4, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [10, 100, 0, 1] |
| ] |
| } |
| ] |
| } |
| |