mask-multiple-coord-systems.yaml (743B)
1 # Verify that a stacking context with a complex transform, which has an image-mask in the 2 # picture local space, and a rectangular clip in the parent space, draws correctly without 3 # edge artifacts. 4 --- 5 root: 6 items: 7 - type: clip 8 id: 2 9 bounds: [50, 100, 250, 150] 10 - type: stacking-context 11 bounds: [200, 0, 100, 100] 12 transform-origin: [250, 250] 13 transform: rotate(45) 14 items: 15 - type: clip 16 id: 3 17 image-mask: 18 image: "circle.png" 19 rect: [0, 0, 100, 100] 20 - type: stacking-context 21 bounds: [0, 0, 100, 100] 22 clip-chain: [2, 3] 23 items: 24 - type: rect 25 bounds: [0, 0, 100, 100] 26 color: blue