diff --git a/test/ignores.json b/test/ignores.json index bd259102a90..404eb3eb403 100644 --- a/test/ignores.json +++ b/test/ignores.json @@ -12,6 +12,7 @@ "render-tests/fill-outline-color/fill": "https://github.com/mapbox/mapbox-gl-js/issues/4601", "render-tests/geojson/inline-linestring-fill": "current behavior is arbitrary", "render-tests/raster-loading/missing": "https://github.com/mapbox/mapbox-gl-js/issues/4257", + "render-tests/raster-masking/overlapping": "https://github.com/mapbox/mapbox-gl-js/issues/5003", "render-tests/regressions/mapbox-gl-js#3682": "skip - true", "render-tests/runtime-styling/image-update-icon": "skip - https://github.com/mapbox/mapbox-gl-js/issues/4804", "render-tests/runtime-styling/image-update-pattern": "skip - https://github.com/mapbox/mapbox-gl-js/issues/4804" diff --git a/test/integration/render-tests/raster-masking/overlapping/expected.png b/test/integration/render-tests/raster-masking/overlapping/expected.png new file mode 100644 index 00000000000..9afbdfa73ef Binary files /dev/null and b/test/integration/render-tests/raster-masking/overlapping/expected.png differ diff --git a/test/integration/render-tests/raster-masking/overlapping/style.json b/test/integration/render-tests/raster-masking/overlapping/style.json new file mode 100644 index 00000000000..430896e4bfc --- /dev/null +++ b/test/integration/render-tests/raster-masking/overlapping/style.json @@ -0,0 +1,37 @@ +{ + "version": 8, + "metadata": { + "test": { + "height": 256 + } + }, + "center": [ + -122.48, + 37.84 + ], + "zoom": 14, + "sources": { + "contour": { + "type": "raster", + "tiles": [ + "local://tiles/{z}-{x}-{y}.contour.png" + ], + "maxzoom": 17, + "tileSize": 256 + } + }, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "raster", + "type": "raster", + "source": "contour" + } + ] +} \ No newline at end of file diff --git a/test/integration/tiles/11-327-791.contour.png b/test/integration/tiles/11-327-791.contour.png new file mode 100644 index 00000000000..6ef1ced5dd6 Binary files /dev/null and b/test/integration/tiles/11-327-791.contour.png differ diff --git a/test/integration/tiles/13-1308-3164.contour.png b/test/integration/tiles/13-1308-3164.contour.png new file mode 100644 index 00000000000..b653682b68c Binary files /dev/null and b/test/integration/tiles/13-1308-3164.contour.png differ diff --git a/test/integration/tiles/14-2617-6329.contour.png b/test/integration/tiles/14-2617-6329.contour.png new file mode 100644 index 00000000000..8a06d5619a3 Binary files /dev/null and b/test/integration/tiles/14-2617-6329.contour.png differ diff --git a/test/integration/tiles/15-5235-12658.contour.png b/test/integration/tiles/15-5235-12658.contour.png new file mode 100644 index 00000000000..ca2222ca48c Binary files /dev/null and b/test/integration/tiles/15-5235-12658.contour.png differ