mask-transformed-to-empty-rect.yaml (732B)
1 --- 2 root: 3 items: 4 - type: stacking-context 5 bounds: [0, 0, 300, 300] 6 "scroll-policy": scrollable 7 z-index: 4 8 transform: [1, 0, 0, 0, 0, 0, 1, 0, 0, -1, 0, 0, 0, 150, -150, 1] 9 items: 10 - type: clip 11 # This image mask here assures that we will be forced to try to 12 # mask instead of skipping it due to the mask rect becoming a 13 # zero rect. 14 image-mask: 15 image: "tiny-check-mask.png" 16 rect: [0, 0, 300, 300] 17 repeat: false 18 id: 2 19 - type: rect 20 clip-chain: [2] 21 bounds: [0, 0, 300, 300] 22 color: 0 128 0 1.0000 23 - type: rect 24 bounds: [0, 0, 100, 100] 25 color: 0 255 0 1.0