Element with no content followed by pad
can force breakable block to create an empty frame
#4234
Open
1 task done
Description
This bug has a similar effect as #2297, which was fixed by #2517. Sadly, the fix does not work in the specific case where the element with no content is directly followed by a
pad
element (which happens somewhat often given thatblock
usedpad
under the hood to makeinset
work).Example
Typst produces the same output without an explicit
pad
:Note that removing the counter update removes the undesired rectangle.
Reproduction URL
No response
Operating system
No response
Typst version
The text was updated successfully, but these errors were encountered: