summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/shadow-fast-clip.yaml
blob: 2a33267c9678bf1e5b3abeafa8df8c36877cc6c9 (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
# Test that fast shadows actually apply clips
---
root:
  items:
    - type: clip
      id: 2
      bounds: [28, 28, 80, 80]
    -
      type: "shadow"
      bounds: [0, 0, 200, 200]
      blur-radius: 0
      offset: [1, 1]
      color: [0, 0, 0, 1]
      clip-chain: [2]
    -
      bounds: [6, 6, 132, 133]
      text: "overflow text"
      origin: [8, 100]
      size: 12
      color: [255, 0, 0, 1]
      font: "VeraBd.ttf"
      clip-chain: [2]
    -
      type: "pop-all-shadows"