summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/perspective-mask.yaml
blob: 9f95549554d98c562f2e5171bc616f867766ed8b (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
---
root:
  items:
    -
      type: "scroll-frame"
      id: 2
      "content-size": [500, 100]
      bounds: [0, 0, 500, 100]
      clip-to-frame: true
      items:
        -
          type: "stacking-context"
          perspective: 125
          items:
            -
              type: "stacking-context"
              bounds: [0, 0, 250, 100]
              transform: rotate-y(54)
              items:
                -
                  bounds: [0, 0, 128, 128]
                  type: rect
                  color: red
                  clip-chain: [2]