1 This scenario verifies that the cyan "container" element scrolls properly with squashing enabled.
3 CASE 1, original layer tree:
5 (bounds 785.00 4050.00)
8 (bounds 785.00 4050.00)
13 (bounds 400.00 200.00)
16 (backfaceVisibility hidden)
17 (backgroundColor #0000FF)
25 (backfaceVisibility hidden)
26 (backgroundColor #FF0000)
29 (position 100.00 50.00)
30 (bounds 200.00 4000.00)
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.00 4050.00)
46 (bounds 785.00 4050.00)
52 (bounds 400.00 200.00)
55 (backfaceVisibility hidden)
56 (backgroundColor #0000FF)
64 (backfaceVisibility hidden)
65 (backgroundColor #FF0000)
68 (position 100.00 -30.00)
69 (bounds 200.00 4000.00)