summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/gradient/gradient_cache_hardstop_clip.yaml
blob: 1af3894406d5fc139d929501c989129b73b9f797 (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
---
root:
  items:
    - type: clip
      id: 101
      complex:
        - rect: [100, 100, 760, 340]
          radius: [32, 32]
    - type: clip-chain
      id: 201
      clips: [101]
    - type: gradient
      bounds: 0 0 960 540
      start: 0 0
      end: 960 0
      stops: [0.0, red,
              0.125, yellow,
              0.25, red,
              0.25, green,
              0.375, yellow,
              0.5, green,
              0.5, blue,
              0.625, yellow,
              0.75, blue,
              0.75, white,
              1.0, [100,200,50,1]]
      clip-chain: 201