I have a simple document containing nested lists within a div.
For display reasons we style <ol>/<ul> elements as a table (display: table;) and <li> elements are styled as table rows (display: table-row;).
We allow users to add page breaks to any paragraph within an <li> so that they control when content is displayed on the next page.
However when we process the attached files through Prince (v13.6) we find that page breaks only occur under some of the paragraphs rather than all of them.
If we remove the table styling from the list elements then a page break is inserted after each paragraph as expected.
Please can you let us know why page breaks are being inserted inconsistently into the output?
For display reasons we style <ol>/<ul> elements as a table (display: table;) and <li> elements are styled as table rows (display: table-row;).
We allow users to add page breaks to any paragraph within an <li> so that they control when content is displayed on the next page.
However when we process the attached files through Prince (v13.6) we find that page breaks only occur under some of the paragraphs rather than all of them.
If we remove the table styling from the list elements then a page break is inserted after each paragraph as expected.
Please can you let us know why page breaks are being inserted inconsistently into the output?