diff options
Diffstat (limited to 'tests/typ/layout/stack.typ')
| -rw-r--r-- | tests/typ/layout/stack.typ | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/typ/layout/stack.typ b/tests/typ/layout/stack.typ index 006a1412..89e587c7 100644 --- a/tests/typ/layout/stack.typ +++ b/tests/typ/layout/stack.typ @@ -7,3 +7,12 @@ rect(3cm, forest), rect(1cm, conifer), ) + +--- +// Test overflowing stack. + +#let rect(width, color) = rect(width: 1cm, height: 0.4cm, fill: color) +#box(height: 0.5cm, stack( + rect(3cm, forest), + rect(1cm, conifer), +)) |
