summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/boxshadow/box-shadow-cache.yaml
blob: 721c6fe4e0c6c74aed6d8f9806e50ee0c3574c25 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
root:
  items:
        - type: stacking-context
          bounds: [0, 0, 1000, 1000]
          items:
            - type: box-shadow
              bounds: [ 50, 50, 100, 100 ]
              color: red
              clip-mode: outset
              blur-radius: 10
              border-radius: {
                top-left: [20, 30],
                top-right: [10, 30],
                bottom-left: [50, 25],
                bottom-right: [0, 0],
              }

            - type: box-shadow
              bounds: [ 50, 200, 100, 100 ]
              color: red
              clip-mode: outset
              blur-radius: 10
              border-radius: {
                top-left: [20, 30],
                top-right: [10, 30],
                bottom-left: [50, 25],
                bottom-right: [0, 0],
              }

            - type: box-shadow
              bounds: [ 50, 350, 100, 100 ]
              color: red
              clip-mode: outset
              blur-radius: 10
              border-radius: {
                top-left: [20, 30],
                top-right: [10, 30],
                bottom-left: [50, 25],
                bottom-right: [0, 0],
              }

            - type: box-shadow
              bounds: [ 200, 50, 100, 100 ]
              color: green
              clip-mode: inset
              blur-radius: 10
              border-radius: {
                top-left: [20, 30],
                top-right: [10, 30],
                bottom-left: [50, 25],
                bottom-right: [0, 0],
              }

            - type: box-shadow
              bounds: [ 200, 200, 100, 100 ]
              color: green
              clip-mode: inset
              blur-radius: 10
              border-radius: {
                top-left: [20, 30],
                top-right: [10, 30],
                bottom-left: [50, 25],
                bottom-right: [0, 0],
              }

            - type: box-shadow
              bounds: [ 200, 350, 100, 100 ]
              color: green
              clip-mode: inset
              blur-radius: 10
              border-radius: {
                top-left: [20, 30],
                top-right: [10, 30],
                bottom-left: [50, 25],
                bottom-right: [0, 0],
              }

            - type: box-shadow
              bounds: [ 350, 50, 100, 100 ]
              color: blue
              clip-mode: outset
              blur-radius: 10
              border-radius: [ 10, 20, 30, 40 ]

            - type: box-shadow
              bounds: [ 350, 200, 100, 100 ]
              color: blue
              clip-mode: outset
              blur-radius: 10
              border-radius: [ 10, 20, 30, 40 ]

            - type: box-shadow
              bounds: [ 350, 350, 100, 100 ]
              color: blue
              clip-mode: outset
              blur-radius: 10
              border-radius: [ 10, 20, 30, 40 ]