clip-and-scroll-property.yaml (888B)
1 --- 2 root: 3 items: 4 - 5 bounds: [0, 0, 200, 200] 6 type: "stacking-context" 7 "scroll-policy": scrollable 8 items: 9 - 10 bounds: [0, 0, 200, 200] 11 type: clip 12 id: 2 13 - type: clip-chain 14 id: 12 15 clips: [2] 16 # Here we are testing that the clip-chain property applies to 17 # both stacking contexts and items. 18 - 19 bounds: [0, 0, 0, 0] 20 content-size: [200, 200] 21 clip-chain: 12 22 type: "stacking-context" 23 "scroll-policy": scrollable 24 transform: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -100, 0, 0, 1] 25 "transform-style": flat 26 items: 27 - 28 bounds: [100, 0, 200, 200] 29 clip: [-8947849, -8947849, 17895698, 17895698] 30 type: rect 31 color: green 32 id: [0, 0] 33 pipelines: []