summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/gradient/linear-aligned-border-radius.yaml
blob: a79b4423c3e3150487574d6a0b850c4b04215a0b (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
36
37
38
39
40
41
42
43
44
45
46
---
root:
  items:
    - type: clip
      bounds: [20, 20, 100, 100]
      complex:
        - rect: [20, 20, 100, 100]
          radius: 32
      items:
      - type: gradient
        bounds: 20 20 100 100
        start: 50 0
        end: 50 100
        stops: [0.0, red, 1.0, yellow]

    - type: rect
      bounds: [130, 10, 120, 120]
      color: blue

    - type: clip
      bounds: [140, 20, 100, 100]
      complex:
        - rect: [140, 20, 100, 100]
          radius: 32
      items:
      - type: gradient
        bounds: 140 20 100 100
        start: 50 0
        end: 50 100
        stops: [0.0, red, 1.0, yellow]

    - type: rect
      bounds: [260, 10, 120, 120]
      color: black

    - type: clip
      bounds: [270, 20, 100, 100]
      complex:
        - rect: [270, 20, 100, 100]
          radius: 32
      items:
      - type: gradient
        bounds: 270 20 100 100
        start: 50 0
        end: 50 100
        stops: [0.0, red, 1.0, yellow]