summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/place-base.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/bugs/place-base.typ b/tests/typ/bugs/place-base.typ
new file mode 100644
index 00000000..4a0bd029
--- /dev/null
+++ b/tests/typ/bugs/place-base.typ
@@ -0,0 +1,7 @@
+// Test that placement is relative to container and not itself.
+
+---
+#set page(height: 80pt, margin: 0pt)
+#place(right, dx: -70%, dy: 20%, [First])
+#place(left, dx: 20%, dy: 60%, [Second])
+#place(center + horizon, dx: 25%, dy: 25%, [Third])