summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/split/order-1.yaml
blob: 7b5613f6d33334e52226e05f2233699ac00a1fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# The "preserve-3d" context has a "flat" child. Rotation by 180 degrees and positive Z offset
# should compensate each other, resulting in a green rectangle.
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 100, 100]
      transform-style: preserve-3d
      transform: rotate-x(180)
      items:
        - type: rect
          bounds: [0, 0, 100, 100]
          color: green
        - type: stacking-context
          bounds: [0, 0, 100, 100]
          transform: translate(0, 0, 10)
          items:
            - type: rect
              bounds: [0, 0, 100, 100]
              color: red