summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/boxshadow/box-shadow-clip-ref.yaml
blob: 7b181c80024d1c1d85f0751a6fbd5830bf81ae81 (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
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 1000, 1000]
      items:
        - type: clip
          bounds: [0, 0, 100, 200]
          items:
            - type: box-shadow
              bounds: [ 20, 20, 200, 80 ]
              color: blue
              offset: [10, 20]
              clip-mode: outset
        - type: clip
          bounds: [200, 0, 100, 200]
          items:
            - type: box-shadow
              bounds: [ 220, 20, 200, 80 ]
              color: red
              offset: [10, 20]
              blur-radius: 10
              clip-mode: outset
        - type: clip
          bounds: [0, 200, 100, 200]
          items:
            - type: box-shadow
              bounds: [ 20, 220, 200, 80 ]
              color: green
              offset: [10, 20]
              clip-mode: inset
        - type: clip
          bounds: [200, 200, 100, 200]
          items:
            - type: box-shadow
              bounds: [ 220, 220, 200, 80 ]
              color: yellow
              offset: [10, 20]
              blur-radius: 10
              clip-mode: inset