Source code
Revision control
Copy as Markdown
Other Tools
# This test uses `identity` filter on a preserve3D context to test how
# filters mix up with the SC's baking for preserve3d.
---
root:
items:
- type: "stacking-context"
perspective: 100
perspective-origin: 100 100
items:
- type: "stacking-context"
transform-origin: 235 235
transform: rotate-x(-15)
filters: identity
items:
- image: checkerboard(2, 16, 16)
bounds: [100, 100, 260, 260]
- type: "stacking-context"
transform-origin: 635 235
transform: rotate-z(-45)
items:
- image: checkerboard(2, 16, 16)
bounds: [500, 100, 260, 260]