From 3d2d15dce49a822a0f9d82ab9641a259b37cb5bc Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 25 Sep 2024 22:23:35 +0200 Subject: [PATCH] Add test of SVG with no explicit size --- tests/draw/svg/test_bounding_box.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/draw/svg/test_bounding_box.py b/tests/draw/svg/test_bounding_box.py index 32ac5d446..f85a0af68 100644 --- a/tests/draw/svg/test_bounding_box.py +++ b/tests/draw/svg/test_bounding_box.py @@ -309,3 +309,22 @@ def test_bounding_box_path_s(assert_pixels): ''') + + +@assert_no_logs +def test_svg_empty_size(assert_pixels): + assert_pixels(''' + BBB__ + BBB__ + BBB__ + BBB__ + _____ + ''', ''' + + + + + ''')