summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/place-pagebreak.pngbin0 -> 978 bytes
-rw-r--r--tests/typ/bugs/place-pagebreak.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/bugs/place-pagebreak.png b/tests/ref/bugs/place-pagebreak.png
new file mode 100644
index 00000000..2aa3d6b0
--- /dev/null
+++ b/tests/ref/bugs/place-pagebreak.png
Binary files differ
diff --git a/tests/typ/bugs/place-pagebreak.typ b/tests/typ/bugs/place-pagebreak.typ
new file mode 100644
index 00000000..bc04af1a
--- /dev/null
+++ b/tests/typ/bugs/place-pagebreak.typ
@@ -0,0 +1,7 @@
+// Test placing on an already full page.
+// It shouldn't result in a page break.
+
+---
+#set page(height: 40pt)
+#block(height: 100%)
+#place(bottom + right)[Hello world]