summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/layout/clip.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/layout/clip.typ b/tests/typ/layout/clip.typ
index d05fdb74..d20609d8 100644
--- a/tests/typ/layout/clip.typ
+++ b/tests/typ/layout/clip.typ
@@ -54,3 +54,15 @@ First!
clip: true,
image("/files/rhino.png", width: 30pt)
)
+---
+// Test clipping with `radius`, but without `stroke`.
+
+#set page(height: 60pt)
+
+#box(
+ radius: 5pt,
+ width: 20pt,
+ height: 20pt,
+ clip: true,
+ image("/files/rhino.png", width: 30pt)
+)