summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/split/nested.yaml
blob: 5b93224fda12bf24c558d1dc468e00c849e06107 (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
# This tests have a non-preserve3d stacking context nested within
# preserve-3d sub-tree. This nested context is still getting baked in
# and participates (as a whole) in plane splitting.
# It is layed out in the same plane as the parent, so should be ordered
# last, given that it's coming later than the parent.
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1024, 1024]
      items:
        - type: stacking-context
          bounds: [0, 0, 600, 600]
          transform-style: preserve-3d
          transform: rotate-y(60.0)
          items:
            - type: rect
              bounds: [0, 0, 600, 600]
              color: red
            - type: stacking-context
              bounds: [0, 0, 100, 100]
              items:
                - type: rect
                  bounds: [0, 0, 600, 200]
                  color: green