simple.yaml (798B)
1 # This tests a simple intersection of 2 rotated planes to split properly. 2 # If the split doesn't happen, we see a single-colored rectangle. 3 # If it does, the rectangle gets split vertically in 2 parts of different colors. 4 --- 5 root: 6 items: 7 - type: stacking-context 8 bounds: [0, 0, 1024, 1024] 9 transform-style: preserve-3d 10 items: 11 - type: stacking-context 12 bounds: [0, 0, 600, 600] 13 transform: rotate-y(-60.0) 14 items: 15 - type: rect 16 bounds: [0, 0, 600, 600] 17 color: [255, 0, 0, 0.5] 18 - type: stacking-context 19 bounds: [0, 0, 600, 600] 20 transform: rotate-y(60.0) 21 items: 22 - type: rect 23 bounds: [0, 0, 600, 600] 24 color: [0, 255, 0, 0.5]