summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/clip/clip-filter-raster-root.yaml
blob: 688b832016fee34045fa2b4e008e082c2985e864 (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
# Test that a local-space clip when applied to a surface (due to the filter) that is also
# a raster root (due to the perspective) is correctly applied.
---
root:
  items:
    -
      type: "reference-frame"
      transform: [perspective(10), rotate(45)]
      transform-origin: 500 100
      items:
        -
          bounds: [100, 100, 200, 200]
          type: clip
          id: 2
        -
          type: "clip-chain"
          id: 3
          clips: [2]
        -
          clip-chain: 3
          type: "stacking-context"
          filters: [identity]
          items:
            -
              bounds: [0, 0, 400, 400]
              type: rect
              color: red