summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/footnote-list.typ11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/typ/bugs/footnote-list.typ b/tests/typ/bugs/footnote-list.typ
new file mode 100644
index 00000000..ceece0ca
--- /dev/null
+++ b/tests/typ/bugs/footnote-list.typ
@@ -0,0 +1,11 @@
+// Test that footnotes in lists do not produce extraneous page breaks. The list
+// layout itself does not currently react to the footnotes layout, weakening the
+// "footnote and its entry are on the same page" invariant somewhat, but at
+// least there shouldn't be extra page breaks.
+
+---
+#set page(height: 100pt)
+#block(height: 50pt, width: 100%, fill: aqua)
+
+- #footnote[1]
+- #footnote[2]