blob: 0212c3002dbb2ba364d9ca1030298bf474ed110a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# In this test, both rectangles have invisible back faces and are
# parented to a preserve-3d context that is rotated by 180 degrees.
# The red one is also rotated 180 degrees, and should be visible.
---
root:
items:
- type: stacking-context
items:
- type: stacking-context
transform: rotate-y(180)
transform-style: preserve-3d
transform-origin: 50 50
items:
- type: rect
color: green
bounds: 0 0 100 100
backface-visible: false
- type: stacking-context
transform: rotate-y(180)
transform-origin: 0 0
backface-visible: false
items:
- type: rect
color: red
bounds: 0 0 100 100
|