summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/boxshadow/no-stretch.yaml
blob: 4276ffa929e07e343b0f1c5538d6b3c8c3096282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Test that box-shadows with overlapping corners
# are drawn with simple mode (not stretched).
---
root:
  items:
        - type: stacking-context
          bounds: [0, 0, 1000, 1000]
          items:
            - type: box-shadow
              bounds: [ 50, 50, 150, 150 ]
              color: red
              clip-mode: outset
              blur-radius: 2.4
              offset: [100, 0]
              spread-radius: -40
              border-radius: {
                top-left: 112,
                top-right: 48,
                bottom-left: 48,
                bottom-right: 112,
              }