summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/opacity-overlap.yaml
blob: 94832004a33cf1d9de0a6e4eb4bbee5c3fcfbf90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# this tests opacity rectangle overlapping with opaque one
root:
  items:
    - type: stacking-context
      bounds: [10, 10, 500, 500]
      items:
        - type: rect
          bounds: [10, 10, 100, 100]
          color: [128, 0, 0]
    - type: stacking-context
      bounds: [10, 10, 500, 500]
      filters: [opacity(0.75)]
      items:
        - type: rect
          bounds: [10, 10, 100, 100]
          color: [0, 0, 128]