diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-10-08 17:55:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-10-15 15:06:36 +0200 |
| commit | 0253c3d8836079697ceee9690bba08c29d6828a4 (patch) | |
| tree | 063624b925a9ae516add7944345adead636c1ec0 /tests | |
| parent | 0abd417640bbb8d98c937293a4960ac3ec8a5b50 (diff) | |
Allow unbreakable multi-layouters to expand (#5162)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-5160-unbreakable-pad.png | bin | 0 -> 145 bytes | |||
| -rw-r--r-- | tests/suite/layout/pad.typ | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/issue-5160-unbreakable-pad.png b/tests/ref/issue-5160-unbreakable-pad.png Binary files differnew file mode 100644 index 00000000..f370870a --- /dev/null +++ b/tests/ref/issue-5160-unbreakable-pad.png diff --git a/tests/suite/layout/pad.typ b/tests/suite/layout/pad.typ index 4ff9f8ec..e9830cf7 100644 --- a/tests/suite/layout/pad.typ +++ b/tests/suite/layout/pad.typ @@ -32,3 +32,7 @@ Hi #box(pad(left: 10pt)[A]) there --- issue-5044-pad-100-percent --- #set page(width: 30pt, height: 30pt) #pad(100%, block(width: 1cm, height: 1cm, fill: red)) + +--- issue-5160-unbreakable-pad --- +#set block(breakable: false) +#block(width: 100%, pad(x: 20pt, align(right)[A])) |
