summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/svg-filter-drop-shadow-perspective.yaml
blob: 744e2f655e55f4aa344e82e11d20f9dc6defd5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Tests SVG drop shadows with perspective transforms
---
root:
  items:
    - type: stacking-context
      perspective: 100
      perspective-origin: 100 50
      items:
        - type: "stacking-context"
          transform-origin: 0 250
          transform: rotate-x(-15)
          filter-primitives:
          - type: drop-shadow
            color: red
            offset: [20, 20]
            radius: 10
            in: previous
            color-space: srgb
          items:
          - type: rect
            color: blue
            bounds: 0 0 200 200