diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-09-13 12:28:30 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-09-13 13:44:28 +0200 |
| commit | 8fb225feb4a10a916c239faaa130cf5aae164284 (patch) | |
| tree | e6caa005cd9a63bf69c1999c41a665b9adcdb234 /tests | |
| parent | 8927f3d572100377f2feb466b81a8700f0ee3a28 (diff) | |
Fix box in 100% width block
Fixes #2128
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/block-width-box.png | bin | 0 -> 1683 bytes | |||
| -rw-r--r-- | tests/typ/bugs/block-width-box.typ | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/bugs/block-width-box.png b/tests/ref/bugs/block-width-box.png Binary files differnew file mode 100644 index 00000000..9cb27a5d --- /dev/null +++ b/tests/ref/bugs/block-width-box.png diff --git a/tests/typ/bugs/block-width-box.typ b/tests/typ/bugs/block-width-box.typ new file mode 100644 index 00000000..a039bc66 --- /dev/null +++ b/tests/typ/bugs/block-width-box.typ @@ -0,0 +1,6 @@ +// Test box in 100% width block. + +--- +#block(width: 100%, fill: red, box("a box")) + +#block(width: 100%, fill: red, [#box("a box") #box()]) |
