summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/split/nested-coord-systems.yaml
blob: 5cdc4ab63474884f6919b83a236dc6b583c7557e (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
26
27
28
# 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