From f9734e2b3900781901bb5f268137bd9adbfc33ef Mon Sep 17 00:00:00 2001 From: bptato Date: Wed, 26 Jun 2024 23:37:02 +0200 Subject: layout: inline fixes & improvements * fix text-align breaking down in the presence of floats * improve (and simplify) background color area painting This greatly simplifies inline layout by removing the additional text-align atom movement code and replacing it with a full re-layout when needed. That re-layout only occurs in (rare) cases where the text is likely to be relatively short anyway, so it's probably a win in any remotely realistic layout. This has also made it possible to at last merge the last three passes (horizontal/vertical alignment and background painting) and drop that weird synchronized tree + vector traversal. --- test/layout/run_layout_tests.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'test/layout/run_layout_tests.sh') diff --git a/test/layout/run_layout_tests.sh b/test/layout/run_layout_tests.sh index 2e2bfa7b..20b85ce1 100755 --- a/test/layout/run_layout_tests.sh +++ b/test/layout/run_layout_tests.sh @@ -20,4 +20,5 @@ do printf '%s\r' "$h" else printf 'WARNING: expected file not found for %s\n' "$h" fi done +printf '\n' exit "$failed" -- cgit 1.4.1-2-gfad0