diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-27 19:02:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-27 19:02:23 +0200 |
| commit | d8d60207ef1833001196feccb84cc0c78bdd84df (patch) | |
| tree | cdc2130d8b4265c52863f10418842d188afb63e8 /tests/typ | |
| parent | f64c772b6d969fa3aa1a7391a3d8118b21430434 (diff) | |
| parent | e9960b89424ab67e633076ccc9f8c420316b076a (diff) | |
Merge pull request #33 from typst/cache-patterns
A test framework for incremental compilation
Diffstat (limited to 'tests/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), +)) |
