backface-hidden.yaml (491B)
1 # In this test, the leaf green rectangle has only its back visible 2 # due to rotate-x(180) transformation, 3 # and "backface-visible = false", so it's completely hidden. 4 --- 5 root: 6 items: 7 - type: rect 8 color: red 9 bounds: 0 0 1024 768 10 - type: stacking-context 11 bounds: 0 0 1024 768 12 transform: rotate-x(180) 13 transform-style: preserve-3d 14 items: 15 - type: rect 16 bounds: 0 0 1024 768 17 color: green 18 backface-visible: false