summaryrefslogtreecommitdiff
path: root/tests/typ/bugs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-02-27 13:34:26 +0100
committerGitHub <noreply@github.com>2024-02-27 12:34:26 +0000
commitae31640c0a62d26b7f2a7a38579293ae48c7c7b7 (patch)
tree55a6ba86979c441b7451ce6b0fe257478b8e1014 /tests/typ/bugs
parent79615a01bd4266e6a5adb385650735768ea96d56 (diff)
Fix out-of-order floats (#3506)
Diffstat (limited to 'tests/typ/bugs')
-rw-r--r--tests/typ/bugs/2715-float-order.typ19
1 files changed, 19 insertions, 0 deletions
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)