blob: 0bae3a37361bc9adb52ac2f379874f13a1eb1fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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]
|