WeasyPrint
WeasyPrint copied to clipboard
break-inside: avoid not respected within table cells
Weasyprint 58.1
We have a larger table running over multiple pages. The <td> element has break-inside: avoid configured which is not respected.
Hi!
We didn’t find anything really specific to page breaks in table cells, and currently break-inside: avoid in tds avoids to split the content of td between pages (even if the table borders can be split, as in your example).
We chose to do this because the rendering you’re expecting can already be achieved by setting break-inside: avoid on the tr tag instead.