WeasyPrint
WeasyPrint copied to clipboard
Handle break-* in columns
Example: page-break-column-bug.zip
I'm wondering whether this is a bug that is rooted in intentional behavior for column-less pages.
When break-before: page is applied to a page without columns, you wouldn't want it to trigger a new page, when you're already on top of a clean new page (otherwise, it would effectively result in an empty page being generated).
When break-page: page is applied to a page with columns, you would want to get a clean new page, even if it's at the top of a brand new column.
I'm wondering whether this is a bug that is rooted in intentional behavior for column-less pages.
It’s a bug! break-before
and break-after
is broken in columns.
Thanks for the confirmation.
I've also noticed where it seems like a page break actually generates a column break instead, so that might be related...
I've also noticed where it seems like a page break actually generates a column break instead, so that might be related...
Yes, it’s totally broken.
(Also related to #1856.)