Source code
Revision control
Copy as Markdown
Other Tools
# This test is similar to "backface-leaf.yaml" but with the whole
# stacking context (containing a green rect) turning invisible
# because of the "rotate-x(180)" transform.
---
root:
items:
- type: rect
color: red
bounds: 0 0 1024 768
- type: stacking-context
bounds: 0 0 1024 768
transform: rotate-x(180)
backface-visible: false
items:
- type: rect
bounds: 0 0 200 200
color: green