I am facing an issue with a table that contains a large amount of data and uses related cells via row span. When I try to print using the Mozilla/ Firefox engine, the print preview shows almost 100 pages with just a single line on each page.
I attempted to use some CSS properties like table, tr, td, td span level page-break-inside: avoid but it didn't seem to solve the problem.
In the past, we used divs instead of rowspan which worked fine, but there were slight alignment issues horizontally by 1 or 2 pixels.
Since this engine is also used for the PDF generator, you can easily replicate the issue by opening the table in Firefox.
<!DOCTYPE html>
<html>
...
</div>