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__
+ _____
+ ''', '''
+
+
+ ''')