1 This scenario verifies that the cyan "container" element scrolls properly with squashing enabled.
3 CASE 1, original layer tree:
9 "contentsOpaque": true,
14 "contentsOpaque": true,
16 "backfaceVisibility": "hidden",
17 "backgroundColor": "#0000FF",
20 "shouldFlattenTransform": false,
24 "contentsOpaque": true,
26 "backfaceVisibility": "hidden",
27 "backgroundColor": "#FF0000"
30 "position": [100, 50],
31 "bounds": [200, 4000],
42 CASE 2, scrolling y to 80, the "container" element should remain positioned with respect to the scrolled document, the fixed-pos layer compensates for the new scroll position:
44 "bounds": [785, 4050],
47 "bounds": [785, 4050],
48 "contentsOpaque": true,
54 "contentsOpaque": true,
56 "backfaceVisibility": "hidden",
57 "backgroundColor": "#0000FF",
60 "shouldFlattenTransform": false,
64 "contentsOpaque": true,
66 "backfaceVisibility": "hidden",
67 "backgroundColor": "#FF0000"
70 "position": [100, -30],
71 "bounds": [200, 4000],