diff options
Diffstat (limited to 'tests/suite/layout')
| -rw-r--r-- | tests/suite/layout/container.typ | 13 |
1 files changed, 13 insertions, 0 deletions
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. // |
