summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-07-19 12:59:34 +0200
committerLaurenz <laurmaedje@gmail.com>2023-07-19 12:59:34 +0200
commitfa9e2c62379792c045288d1ab66f68c5a2e18c42 (patch)
treee6302c3c4f735a627e5a28fff833d9d149bc9f91 /tests
parent3dcd8e6e6beb8c410e55141ca4fbc840679a1f14 (diff)
Resolve `place` deltas relative to real container size
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/place-nested.pngbin6202 -> 6966 bytes
-rw-r--r--tests/typ/layout/place-nested.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/layout/place-nested.png b/tests/ref/layout/place-nested.png
index ccd55ee4..864830d8 100644
--- a/tests/ref/layout/place-nested.png
+++ b/tests/ref/layout/place-nested.png
Binary files differ
diff --git a/tests/typ/layout/place-nested.typ b/tests/typ/layout/place-nested.typ
index c979176a..93006ff5 100644
--- a/tests/typ/layout/place-nested.typ
+++ b/tests/typ/layout/place-nested.typ
@@ -31,3 +31,10 @@
How are \
you?
]
+
+---
+#box(fill: aqua)[
+ #place(top + left, dx: 50%, dy: 50%)[Hi]
+ #v(30pt)
+ #line(length: 50pt)
+]