summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/compositor-surface/mix-blend.yaml
blob: fb8afe312d195a2fd33c50dd454aa96dc80addbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Verify that we don't promote compositor surfaces within a root level blend container,
# as that can prevent correct blending with the compositor surface.
---
root:
  items:
    - type: stacking-context
      blend-container: true
      items:
        - type: rect
          bounds: [50, 50, 362, 362]
          color: green
        - image: transparent-checkerboard(2,16,16)
          bounds: [100, 100, 262, 262]
          prefer-compositor-surface: true
        - type: stacking-context
          mix-blend-mode: multiply
          items:
            - type: rect
              bounds: [150, 150, 162, 162]
              color: red