summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/blend/multi-mix-blend-mode.yaml
blob: d3ba8fcaf01e88d4af4981fcbae5f4387e1055d0 (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
---
root:
  items:
    - type: stacking-context
      blend-container: true
      items:
      - type: rect
        bounds: 0 0 800 200
        color: [255, 0, 0, 1]

      - type: stacking-context
        bounds: 50 50 100 100
        mix-blend-mode: difference
        items:
          - type: rect
            bounds: 0 0 100 100
            color: [0, 255, 0, 1]

      - type: stacking-context
        bounds: 300 50 100 100
        mix-blend-mode: difference
        items:
          - type: rect
            bounds: 0 0 400 100
            color: [0, 0, 255, 1]