summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-4340-set-document-and-page.pngbin0 -> 222 bytes
-rw-r--r--tests/suite/layout/page.typ8
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/issue-4340-set-document-and-page.png b/tests/ref/issue-4340-set-document-and-page.png
new file mode 100644
index 00000000..4737d2eb
--- /dev/null
+++ b/tests/ref/issue-4340-set-document-and-page.png
Binary files differ
diff --git a/tests/suite/layout/page.typ b/tests/suite/layout/page.typ
index c3576ede..f833af59 100644
--- a/tests/suite/layout/page.typ
+++ b/tests/suite/layout/page.typ
@@ -258,3 +258,11 @@ Default page numbers now.
Hi
#pagebreak()
= Second
+
+--- issue-4340-set-document-and-page ---
+// Test custom page fields being applied on the last page
+// if the document has custom fields.
+#set document(author: "")
+#set page(fill: gray)
+text
+#pagebreak()