complex-preserve-3d.yaml (637B)
1 # the root sc should dominate backface-visibility and hide the rect 2 3 --- 4 root: 5 items: 6 - 7 bounds: [300, 300, 300, 300] 8 clip-rect: [300, 300, 300, 300] 9 type: "stacking-context" 10 transform: rotate-y(180) 11 transform-style: flat 12 backface-visible: false 13 items: 14 - 15 type: "stacking-context" 16 transform-style: preserve-3d 17 backface-visible: true 18 items: 19 - 20 bounds: [350, 350, 150, 150] 21 clip-rect: [350, 350, 150, 150] 22 type: rect 23 color: 255 255 0 0.4000 24 backface-visible: true