summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/backdrop-filter-drop-shadow.yaml
blob: e94b94f14a079df6e708f1d0943f901c01b56ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Tests that a drop-shadow backdrop-filter works (involves very complex dependency graph due to picture + shadow content)
---
root:
  items:
    - type: stacking-context
      backdrop-root: true
      items:
      - type: rect
        color: red
        bounds: 0 0 128 128
      - type: backdrop-filter
        bounds: 0 0 256 256
        filters: drop-shadow([20, 20], 10, [255, 0, 0, 1])