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",
23 "contentsOpaque": true,
25 "backfaceVisibility": "hidden",
26 "backgroundColor": "#FF0000"
29 "position": [100, 50],
30 "bounds": [200, 4000],
41 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:
43 "bounds": [785, 4050],
46 "bounds": [785, 4050],
47 "contentsOpaque": true,
53 "contentsOpaque": true,
55 "backfaceVisibility": "hidden",
56 "backgroundColor": "#0000FF",
62 "contentsOpaque": true,
64 "backfaceVisibility": "hidden",
65 "backgroundColor": "#FF0000"
68 "position": [100, -30],
69 "bounds": [200, 4000],