summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/filter-drop-shadow-clip-2.yaml
blob: 4616d5e29056f9c42b3972071fe4273baefbaec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Bug 1561447: If a clip task is created for a picture, it should take into account the rect of the drop shadow
---
root:
  items:
  - type: clip
    id: 2
    bounds: 10 0 300 300
    clip-rect: 10 0 300 300
  -
    type: "clip-chain"
    id: 3
    clips: [2]
  - type: stacking-context
    bounds: 30 30 0 0
    transform: rotate-z(-45)
    filters: drop-shadow([15, 0], 0, red)
    clip-chain: 3
    items:
    - type: rect
      bounds: 0 0 100 100
      color: blue