From d134ea743aa0d64d66829743720f2795eb7f6f1c Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Tue, 19 Mar 2019 13:08:03 +0100 Subject: [PATCH] Add test about flexbox baseline Related to #765. --- weasyprint/tests/test_layout/test_flex.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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(''' +
+
+
''')