From ae31640c0a62d26b7f2a7a38579293ae48c7c7b7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 27 Feb 2024 13:34:26 +0100 Subject: Fix out-of-order floats (#3506) --- tests/ref/bugs/2715-float-order.png | Bin 0 -> 12944 bytes tests/typ/bugs/2715-float-order.typ | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/ref/bugs/2715-float-order.png create mode 100644 tests/typ/bugs/2715-float-order.typ (limited to 'tests') diff --git a/tests/ref/bugs/2715-float-order.png b/tests/ref/bugs/2715-float-order.png new file mode 100644 index 00000000..76e6db9e Binary files /dev/null and b/tests/ref/bugs/2715-float-order.png differ diff --git a/tests/typ/bugs/2715-float-order.typ b/tests/typ/bugs/2715-float-order.typ new file mode 100644 index 00000000..f6ac6219 --- /dev/null +++ b/tests/typ/bugs/2715-float-order.typ @@ -0,0 +1,19 @@ +#set page(height: 170pt) +#set figure(placement: auto) + +#figure( + rect(height: 60pt), + caption: [Rectangle I], +) + +#figure( + rect(height: 50pt), + caption: [Rectangle II], +) + +#figure( + circle(), + caption: [Circle], +) + +#lorem(20) -- cgit v1.2.3