summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml
blob: 74753c2f2dc08bed11833fd56aaab4764c8f9cb2 (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
# verify that content preceding a root level mix-blend container is still
# available as part of the backdrop root for subsequent backdrop-filters
---
root:
  items:
    - type: rect
      bounds: 0 0 100 100
      color: red
    - type: stacking-context
      blend-container: true
      items:
        - type: rect
          bounds: 100 0 100 100
          color: green
        - type: stacking-context
          bounds: 100 0 100 100
          mix-blend-mode: multiply
          items:
            - type: rect
              bounds: 0 0 100 100
              color: green
    - type: backdrop-filter
      bounds: 0 0 200 100
      filters: invert(1)