summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/mask/checkerboard-tiling.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/wr/wrench/reftests/mask/checkerboard-tiling.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/mask/checkerboard-tiling.yaml b/gfx/wr/wrench/reftests/mask/checkerboard-tiling.yaml
new file mode 100644
index 0000000000..782babbef6
--- /dev/null
+++ b/gfx/wr/wrench/reftests/mask/checkerboard-tiling.yaml
@@ -0,0 +1,16 @@
+# Tests a tiled image mask with leftover tile offsets.
+---
+root:
+ items:
+ - type: clip
+ bounds: [0, 0, 200, 200]
+ 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
+ items:
+ - type: rect
+ bounds: [0, 0, 200, 200]
+ color: blue