From 45377f25ecbd33b56ec5fcd1335f20b13488a93d Mon Sep 17 00:00:00 2001 From: Eric Biedert Date: Mon, 28 Oct 2024 15:31:00 +0100 Subject: Fix clipping with outset (#5295) Co-authored-by: Laurenz --- tests/suite/layout/container.typ | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/suite') diff --git a/tests/suite/layout/container.typ b/tests/suite/layout/container.typ index e1367967..799300f0 100644 --- a/tests/suite/layout/container.typ +++ b/tests/suite/layout/container.typ @@ -251,6 +251,19 @@ First! image("/assets/images/rhino.png", width: 30pt) ) +--- box-clip-outset --- +// Test clipping with `outset`. +#set page(height: 60pt) + +#box( + outset: 5pt, + stroke: 2pt + black, + width: 20pt, + height: 20pt, + clip: true, + image("/assets/images/rhino.png", width: 30pt) +) + --- container-layoutable-child --- // Test box/block sizing with directly layoutable child. // -- cgit v1.2.3