summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/mask/checkerboard-tiling.yaml
blob: db9f115d92ed0a2ade286ccbc8b45ef64c72890e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Tests a tiled image mask with leftover tile offsets.
---
root:
  items:
    - type: clip
      id: 2
      image-mask:
        image: transparent-checkerboard(2, 16, 16)
        rect: [0, 0, 200, 200]
        repeat: false
        # This is the point of the test, can't be a divisor of 200.
        tile-size: 37
    - type: stacking-context
      clip-chain: [2]
      items:
      - type: rect
        bounds: [0, 0, 200, 200]
        color: blue