From 6f752792af21f72b1c0f38ef2ffb175ae805327e Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Thu, 19 Dec 2019 17:46:15 +0200 Subject: [PATCH 1/2] Add text-size/zero render test Tests that zero `text-size` values are properly handled. --- .../render-tests/text-size/zero/expected.png | Bin 0 -> 416 bytes .../render-tests/text-size/zero/style.json | 43 ++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 test/integration/render-tests/text-size/zero/expected.png create mode 100644 test/integration/render-tests/text-size/zero/style.json diff --git a/test/integration/render-tests/text-size/zero/expected.png b/test/integration/render-tests/text-size/zero/expected.png new file mode 100644 index 0000000000000000000000000000000000000000..e1aea4e90d69ea5f516667e19e49e10085a4374a GIT binary patch literal 416 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7T#lEU`+RPaSW-L^Y-d~ZMQ&~;~yV? z)Sj($vOg$HjhVCgXoH5>Mvu-_V*bFsQ4lAEZQQkkvNu<90`^%csp+4{S z2F)+uTUB*#@8QaGd!O5!(_A_w$P1YWv3Z)nqdak=mh|Vgi(Pw8d}Z@VVzbroNnOSn z+RZ&@@r`4%J~o-=Jm4!X%M}TaIBvujFzHcEaz4{-3+MH{KUsIUF0Gw^T<_G!C;Rs4 zUNnDvKeR!ZCrN6y**ozEjKO*~KZC`$Ia$98ocqg1copaS7v+h9a)FNzG1(+DdY?!V zo4dp9ru-SxiDI!8iy}XF6@K5zs`X|cPCiL64dEHV5%t z8(Wn{64~2dZ1~+a!L#z+MxcV)DQ?GJ<(!c(`se;`X6TjMwsrs4@7NG9@Bi`>zUikv ve!n~Uw2Pgw{hi0B%O47aqWB&d7=QQiuTM1JmCs-Z3V8-kS3j3^P6 Date: Mon, 6 Jan 2020 14:07:14 -0500 Subject: [PATCH 2/2] add ignore --- test/ignores.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/ignores.json b/test/ignores.json index f29e625ebf4..6846ae63ab1 100644 --- a/test/ignores.json +++ b/test/ignores.json @@ -16,5 +16,6 @@ "render-tests/text-variable-anchor/remember-last-placement": "skip - not sure this is correct behavior", "render-tests/icon-image/icon-sdf-non-sdf-one-layer": "skip - render sdf icon and normal icon in one layer", "render-tests/text-variable-anchor/all-anchors-tile-map-mode": "skip - mapbox-gl-js does not need to render tiles", - "render-tests/fill-pattern/update-feature-state": "https://github.com/mapbox/mapbox-gl-js/issues/7207" + "render-tests/fill-pattern/update-feature-state": "https://github.com/mapbox/mapbox-gl-js/issues/7207", + "render-tests/text-size/zero": "https://github.com/mapbox/mapbox-gl-js/issues/9161" }