summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/segments-bug.yaml
blob: 6ac89e094b1a0dae818bde0e054838808fe5aa5f (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
# Test that opaque/alpha segments are correctly calculated
# when the clip is in a different (but compatible) coordinate
# space from the primitive.
---
root:
  items:
    -
      type: "stacking-context"
      items:
        -
          type: clip
          id: 4
          complex:
            -
              rect: [12, 12, 130, 130]
              radius: 20
              "clip-mode": clip
        -
          type: "stacking-context"
          transform: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 12, 12, 0, 1]
          items:
            -
              bounds: [0, 0, 130, 130]
              type: rect
              color: 0 128 0 1.0000
              clip-chain: [4]