diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-10-01 14:26:51 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-10-01 14:27:00 +0200 |
| commit | 9a71e7263df35f06a1057c2bc52ac7fc8f1dff10 (patch) | |
| tree | 54924b6541d5836c4b470b64d70db85d5fa4cc75 /tests | |
| parent | d03af848eb510a9ce0ad84db6714d27982c68717 (diff) | |
Improve region progression handling
Fixes #5044
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-5044-pad-100-percent.png | bin | 0 -> 90 bytes | |||
| -rw-r--r-- | tests/suite/layout/pad.typ | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ref/issue-5044-pad-100-percent.png b/tests/ref/issue-5044-pad-100-percent.png Binary files differnew file mode 100644 index 00000000..51047567 --- /dev/null +++ b/tests/ref/issue-5044-pad-100-percent.png diff --git a/tests/suite/layout/pad.typ b/tests/suite/layout/pad.typ index 3a7439d0..4ff9f8ec 100644 --- a/tests/suite/layout/pad.typ +++ b/tests/suite/layout/pad.typ @@ -28,3 +28,7 @@ Hi #box(pad(left: 10pt)[A]) there --- pad-adding-to-100-percent --- // Test that padding adding up to 100% does not panic. #pad(50%)[] + +--- issue-5044-pad-100-percent --- +#set page(width: 30pt, height: 30pt) +#pad(100%, block(width: 1cm, height: 1cm, fill: red)) |
