summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/segments-bug.yaml
blob: 72130413fc4cb684e7548c5fcd257e763dd08f6f (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 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:
        -
          bounds: [12, 12, 130, 130]
          type: clip
          id: 4
          complex:
            -
              rect: [12, 12, 130, 130]
              radius: 20
              "clip-mode": clip
        -
          "clip-and-scroll": 4
          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