summaryrefslogtreecommitdiff
path: root/tests/suite/visualize/path.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-18 11:33:36 +0200
committerGitHub <noreply@github.com>2024-04-18 09:33:36 +0000
commit02285e8b1fbdf284f2a1115c97f84fc7acb2122e (patch)
treef667f7b9aca654fcb09dbe28eb41e34419230ffa /tests/suite/visualize/path.typ
parent4c8a8f122aa2326543f5d24962c79436506b1a55 (diff)
Fix path in sized container (#3954)
Diffstat (limited to 'tests/suite/visualize/path.typ')
-rw-r--r--tests/suite/visualize/path.typ13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/suite/visualize/path.typ b/tests/suite/visualize/path.typ
index 10955f14..bdd3dc72 100644
--- a/tests/suite/visualize/path.typ
+++ b/tests/suite/visualize/path.typ
@@ -50,3 +50,16 @@
--- path-bad-point-array ---
// Error: 7-31 point array must contain exactly two entries
#path(((0%, 0%), (0%, 0%, 0%)))
+
+--- issue-path-in-sized-container ---
+// Paths used to implement `LayoutMultiple` rather than `LayoutSingle` without
+// fulfilling the necessary contract of respecting region expansion.
+#block(
+ fill: aqua,
+ width: 20pt,
+ height: 15pt,
+ path(
+ (0pt, 0pt),
+ (10pt, 10pt),
+ ),
+)