summaryrefslogtreecommitdiff
path: root/tests/typ/layout/container.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/container.typ')
-rw-r--r--tests/typ/layout/container.typ10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/layout/container.typ b/tests/typ/layout/container.typ
index 0b30c4e1..d9b62f5e 100644
--- a/tests/typ/layout/container.typ
+++ b/tests/typ/layout/container.typ
@@ -10,6 +10,16 @@ Spaced \
Apart
---
+// Test box sizing.
+#box(width: 50pt, height: 50pt, fill: yellow, path(
+ fill: purple,
+ (0pt, 0pt),
+ (30pt, 30pt),
+ (0pt, 30pt),
+ (30pt, 0pt),
+))
+
+---
// Test fr box.
Hello #box(width: 1fr, rect(height: 0.7em, width: 100%)) World