summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/flow-5.pngbin0 -> 20421 bytes
-rw-r--r--tests/typ/bugs/flow-5.typ13
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/bugs/flow-5.png b/tests/ref/bugs/flow-5.png
new file mode 100644
index 00000000..648c8c44
--- /dev/null
+++ b/tests/ref/bugs/flow-5.png
Binary files differ
diff --git a/tests/typ/bugs/flow-5.typ b/tests/typ/bugs/flow-5.typ
new file mode 100644
index 00000000..5e580b9e
--- /dev/null
+++ b/tests/typ/bugs/flow-5.typ
@@ -0,0 +1,13 @@
+// This bug caused an index-out-of-bounds panic when layouting paragraphs needed
+// multiple reorderings.
+
+---
+#set page(height: 200pt)
+#lorem(30)
+
+#figure(placement: auto, block(height: 100%))
+
+#lorem(10)
+
+#lorem(10)
+