summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/svgfe-subregion-bigger.yaml
blob: a54c3f59ea33cb98a2d91a1f3cedb3dc53674468 (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
26
27
28
29
30
31
32
33
34
35
---
root:
  items:
    - type: stacking-context
      bounds: [0, 50, 800, 800]
      filters:
        - svgfe: SourceGraphic
        - svgfe: SourceAlpha
        - svgfe: flood
          linear: false
          # this is expected to be at 10,60
          subregion: [10, 10, 80, 100]
          color: [255, 0, 0, 0.7]
        - svgfe: flood
          linear: false
          # this is expected to be at 50,60
          subregion: [50, 10, 80, 100]
          color: [0, 255, 0, 0.7]
        - svgfe: blendnormal
          linear: false
          # this is expected to be at 10,60
          subregion: [10, 10, 160, 100]
          in: 3
          in2: 2
        - svgfe: blendnormal
          linear: false
          # this is expected to be at 10,60
          subregion: [10, 10, 160, 100]
          in: 0
          in2: 4
      items:
        - type: rect
          # this is expected to be at 90,60
          bounds: [90, 10, 80, 100]
          color: [0, 0, 255, 0.7]