summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/aa/rounded-rects.yaml
blob: c82349a008114bdec75ce6009d2944498f0b1aef (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
---
root:
  items:
    -
      bounds: 0 0 1000 1000
      type: stacking-context
      items:
        - type: clip
          bounds: [50, 50, 200, 200]
          complex:
            - rect: [50, 50, 200, 200]
              radius: 8
          items:
          - type: rect
            bounds: 50 50 200 200
            color: red

        - type: clip
          bounds: [270, 50, 200, 200]
          complex:
            - rect: [270, 50, 200, 200]
              radius: [16, 32, 48, 64]
          items:
          - type: rect
            bounds: 270 50 200 200
            color: green

        - type: clip
          bounds: [490, 50, 500, 500]
          complex:
            - rect: [490, 50, 500, 500]
              radius: {
                top-left: [32, 16],
                top-right: [40, 24],
                bottom-left: [48, 64],
                bottom-right: [52, 80],
              }
          items:
          - type: rect
            bounds: 490 50 500 500
            color: blue