rotate-snap-clip.yaml (725B)
1 # Verify that snapping on a clipped surface with a 180 deg rotation + a local 180 deg rotation works correctly 2 --- 3 root: 4 items: 5 - type: clip 6 id: 2 7 complex: 8 - rect: [0, 0, 400, 30] 9 radius: { 10 top-left: 2, 11 top-right: 2, 12 bottom-left: 2, 13 bottom-right: 2, 14 } 15 - type: clip-chain 16 id: 12 17 clips: [2] 18 - type: stacking-context 19 clip-chain: 12 20 transform: rotate(180) 21 items: 22 - type: stacking-context 23 transform: rotate(180) 24 items: 25 - text: "Should be upright" 26 origin: 20 24 27 size: 18 28 color: black 29 font: "VeraBd.ttf"