diff --git a/weasyprint/tests/test_layout/test_flex.py b/weasyprint/tests/test_layout/test_flex.py index 5f6fbcd0d..df74d75af 100644 --- a/weasyprint/tests/test_layout/test_flex.py +++ b/weasyprint/tests/test_layout/test_flex.py @@ -361,3 +361,12 @@ def test_flex_auto_margin(): page, = render_pages('
') page, = render_pages( '
') + + +@assert_no_logs +def test_flex_no_baseline(): + # Regression test for https://github.com/Kozea/WeasyPrint/issues/765 + page, = render_pages(''' +
+
+
''')