28 lines
972 B
YAML
28 lines
972 B
YAML
# This test checks our ability to have the plane splitting root itself to be rasterized
|
|
# in some local space. Perspective transform forces WR to use the local space.
|
|
---
|
|
root:
|
|
items:
|
|
- type: stacking-context
|
|
bounds: 0 0 400 400
|
|
transform-style: preserve-3d
|
|
items:
|
|
- type: stacking-context
|
|
bounds: 0 0 400 400
|
|
transform-style: flat
|
|
transform: perspective(100) rotate-y(30)
|
|
transform-origin: 0 0
|
|
items:
|
|
- type: stacking-context
|
|
bounds: 0 0 400 400
|
|
transform-style: preserve-3d
|
|
items:
|
|
- type: stacking-context
|
|
bounds: 0 0 400 400
|
|
transform-style: flat
|
|
transform: perspective(100) rotate-y(30)
|
|
transform-origin: 0 0
|
|
items:
|
|
- type: rect
|
|
bounds: 0 0 200 200
|
|
color: green
|