You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A block will clip off the bottom of the page once it no longer contains "real" content ( f.e., an element with a height of 3000px, but no child elements ). This in itself seems slightly problematic and you're already aware of, I believe.
However, an inline-block will clip even if it has valid content, once it's taller than the page. It also seems to add a blank page before itself?
Since floats and tables don't cross page boundaries, this seems to make it impossible to have a column layout with a column taller than a page. I assume I'm doing something wrong, since no one else seems to have this problem...
I was having this problem on a "real" page, with 2 columns, one of which is very tall. I reduced it to the following reproduction:
An example pdf with a block with a set height of 3000px, and enough text to go onto 3 pages.
The same block flagged as an inline-block only shows one page of Text before clipping.
Page breaks are not supported inside inline-block, for the same reason they are not inside floats, abspos, and table cells: WeasyPrint only knows of one "flow" at a time when doing a page break. Yes, that probably means that WeasyPrint right now can not do multiple-column layout across pages.
A
block
will clip off the bottom of the page once it no longer contains "real" content ( f.e., an element with a height of 3000px, but no child elements ). This in itself seems slightly problematic and you're already aware of, I believe.However, an
inline-block
will clip even if it has valid content, once it's taller than the page. It also seems to add a blank page before itself?Since floats and tables don't cross page boundaries, this seems to make it impossible to have a column layout with a column taller than a page. I assume I'm doing something wrong, since no one else seems to have this problem...
I was having this problem on a "real" page, with 2 columns, one of which is very tall. I reduced it to the following reproduction:
An example pdf with a

block
with a set height of 3000px, and enough text to go onto 3 pages.The same block flagged as an inline-block only shows one page of Text before clipping.

Here's the html for this test -
The text was updated successfully, but these errors were encountered: