Source code

Revision control

Copy as Markdown

Other Tools

# Verifies that a 3d context selects the correct reference (containing block) spatial node.
root:
items:
- type: stacking-context
bounds: 100 0 100 100
transform: scale-x(-1)
items:
- type: stacking-context
bounds: 0 0 100 100
transform: rotate-y(180)
transform-style: preserve-3d
items:
- type: rect
bounds: 0 0 100 100
color: red
backface-visible: false