backface-double-flip.yaml (698B)
1 # In this test, the red rectangle has backface visibility turned off. 2 # However its world transformation makes it front-facing. 3 # However it's still invisible because it's back-facing in the picture space 4 # of the transformed stacking context. 5 --- 6 root: 7 items: 8 - type: stacking-context 9 items: 10 - type: stacking-context 11 transform: rotate-y(180) 12 transform-style: preserve-3d 13 transform-origin: 50 50 14 items: 15 - type: stacking-context 16 transform: rotate-y(180) 17 items: 18 - type: rect 19 color: red 20 backface-visible: false 21 bounds: 0 0 100 100