summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/split/intermediate-1.yaml
blob: 0c02fe8e3c92dbcaee72e6e9c493c3b48bbbf5da (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
29
30
31
32
33
34
35
36
37
38
---
root:
  items:
    - type: rect
      bounds: 8 36 300 100
      color: red
    - type: stacking-context
      transform-style: preserve-3d
      transform: translate(8, 36, 0)
      items:
        - type: stacking-context
          transform-style: preserve-3d
          items:
            - type: rect
              bounds: 0 0 100 100
              color: green
        - type: stacking-context # flat, intermediate surface
          items:
            - type: stacking-context
              transform: translate(100, 0, 0)
              transform-style: preserve-3d
              items:
                - type: stacking-context
                  transform-style: preserve-3d
                  items:
                    - type: rect
                      bounds: 0 0 100 100
                      color: blue
                - type: stacking-context
                  transform: translate(100, 0, 0)
                  transform-style: preserve-3d
                  items:
                    - type: stacking-context
                      transform-style: preserve-3d
                      items:
                        - type: rect
                          bounds: 0 0 100 100
                          color: yellow