summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/mask/mask-atomicity-tiling.yaml
blob: 17d779d779699597043c7157eb047689ca48e56a (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
---
root:
  items:
    - type: rect
      bounds: [25, 25, 100, 100]
      color: red
    - type: clip
      id: 2
      image-mask:
          # premultiplied 0.5 alpha white(??)
          image: solid-color(127,127,127,127,200,200)
          rect: [0, 0, 200, 200]
          tile-size: 10
          repeat: false
    -
      type: "clip-chain"
      id: 3
      clips: [2]
    - type: stacking-context
      bounds: [0, 0, 200, 200]
      clip-chain: 3
      items:
      - type: rect
        bounds: [0, 0, 100, 100]
        color: blue
      - type: rect
        bounds: [50, 50, 100, 100]
        color: green