isolated-premultiplied.yaml (776B)
1 --- 2 root: 3 items: 4 - type: stacking-context 5 bounds: [0, 0, 100, 100] 6 items: 7 # this stacking context should force its parent to be an isolated group 8 # we don't want it to actually draw anything so just make it draw a white rect 9 - type: stacking-context 10 bounds: [0, 0, 100, 100] 11 mix-blend-mode: lighten 12 items: 13 - type: rect 14 bounds: [500, 500, 100, 100] 15 color: [255, 255, 255] 16 17 # transparent white, should be invisible 18 - type: rect 19 bounds: [0, 0, 100, 100] 20 color: [255, 255, 255, 0.5] 21 # transparent white, should be invisible 22 - type: image 23 bounds: [200, 0, 100, 100] 24 src: "transparent-white.png"