1 The gray div is a composited fixed-position element, and the cyan/lime elements should be squashed together on top. When scrolling, paragraphs may pop in-and-out of the squashing layer when they change overlapping status with respect to the composited layer underneath.
3 This scenario tests (1) that content repaints correctly as layers pop in and out of squashing, and (2) that the positioning of the squashing layer remains correct (i.e. scrolls properly) when the squashing layer is on top of a fixed-position composited layer.
5 CASE 1, original layer tree:
7 (bounds 785.00 1400.00)
10 (bounds 785.00 1400.00)
15 (position 100.00 150.00)
16 (bounds 300.00 300.00)
22 (position 0.00 100.00)
23 (bounds 200.00 100.00)
27 (position 0.00 200.00)
28 (bounds 200.00 300.00)
37 CASE 2, scrolling y to 80, new layers will be squashed, so things repaint:
39 (bounds 785.00 1400.00)
42 (bounds 785.00 1400.00)
46 (rect 0.00 100.00 200.00 100.00)
47 (rect 0.00 200.00 200.00 100.00)
51 (position 100.00 230.00)
52 (bounds 300.00 300.00)
58 (position 0.00 200.00)
59 (bounds 200.00 100.00)
63 (position 0.00 300.00)
64 (bounds 200.00 300.00)
75 CASE 3, scrolling y to 120, no repaints expected:
77 (bounds 785.00 1400.00)
80 (bounds 785.00 1400.00)
85 (position 100.00 270.00)
86 (bounds 300.00 300.00)
92 (position 0.00 200.00)
93 (bounds 200.00 100.00)
97 (position 0.00 300.00)
98 (bounds 200.00 300.00)
101 (rect 0.00 0.00 200.00 300.00)
110 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint:
112 (bounds 785.00 1400.00)
115 (bounds 785.00 1400.00)
119 (rect 0.00 200.00 200.00 100.00)
120 (rect 0.00 300.00 200.00 100.00)
124 (position 100.00 320.00)
125 (bounds 300.00 300.00)
131 (position 0.00 300.00)
132 (bounds 200.00 100.00)
136 (position 0.00 400.00)
137 (bounds 200.00 300.00)