1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# The result should be matching the flat ordering, since there
# is no variation in Z of the preserve-3D children.
---
root:
items:
- type: stacking-context
bounds: [0, 0, 200, 200]
transform: rotate-x(30)
items:
- type: rect
bounds: [0, 0, 100, 100]
color: green
- type: stacking-context
bounds: [25, 25, 100, 100]
#transform: rotate-z(45)
items:
- type: rect
bounds: [0, 0, 100, 100]
color: red
- type: rect
bounds: [100, 0, 100, 100]
color: blue
|