sticky-transformed.yaml (628B)
1 root: 2 items: 3 # There is a new reference frame introduced between the scrollframe and 4 # the sticky item. This tests that the sticky item is still positioned 5 # correctly. 6 - type: scroll-frame 7 bounds: [10, 10, 50, 50] 8 content-size: [200, 200] 9 items: 10 - type: stacking-context 11 bounds: [10, 20, 10, 10] 12 transform: translate(0, 10) 13 items: 14 - type: sticky-frame 15 bounds: [0, 0, 10, 10] 16 margin-top: 10 17 vertical-offset-bounds: [0, 200] 18 items: 19 - type: rect 20 bounds: [0, 0, 10, 10] 21 color: green