diff options
Diffstat (limited to 'tests/suite/layout/container.typ')
| -rw-r--r-- | tests/suite/layout/container.typ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/suite/layout/container.typ b/tests/suite/layout/container.typ index 9948a00e..bb53a041 100644 --- a/tests/suite/layout/container.typ +++ b/tests/suite/layout/container.typ @@ -304,3 +304,17 @@ b #block(sticky: true)[*A*] b + +--- issue-5262-block-negative-height --- +#block(height: -1pt)[] + +--- issue-5262-block-negative-height-implicit --- +#set page(height: 10pt, margin: (top: 9pt)) +#block(height: 100%)[] + +--- issue-5262-block-negative-height-in-flow --- +// The contents after the block should be pushed upwards. +#set page(height: 60pt) +a +#block(height: -25pt)[b] +c |
