From e09bedbb44e45de48adc030daa240d7aa9693339 Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 26 Jan 2025 21:51:33 +0100 Subject: layout: various float fixes in inline contexts * reinit line after outer block height is known * do not set wrap in finishLine preceding outer block layout * attach pending inline floats to line boxes * unify flow a bit more The last two points mean that we now (mostly) handle inline floats like block floats, which is great because only the latter ever worked properly. (Well, margin resolution still needs work...) --- test/layout/inline-float-before-and-after-clear.expected | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/layout/inline-float-before-and-after-clear.expected (limited to 'test/layout/inline-float-before-and-after-clear.expected') diff --git a/test/layout/inline-float-before-and-after-clear.expected b/test/layout/inline-float-before-and-after-clear.expected new file mode 100644 index 00000000..c66997b7 --- /dev/null +++ b/test/layout/inline-float-before-and-after-clear.expected @@ -0,0 +1,4 @@ +leftinline +clear +block +float -- cgit