Fragmentation of block elements (fixed height) is bad
Case 1: Empty blocks elements with fixed height
If a block is cut by the page, the second part of the block seems to be transferred in a margin-box on the right on the same page (I can't find the element in the inspector).
HTML: issue-40-case1.html
Result: issue-40-case1-wrong.pdf
We have to choose what is the right way.
Proposal 1, no break inside a block element (like Prince and PDF reactor): issue-40-case1-correct-proposal1.pdf
Proposal 2, break inside a block element (like Vivliostyle?): issue-40-case1-correct-proposal2.pdf
Case 2: Blocks elements with fixed height and inline content
If a block is cut by the page, the second part of the block appears twice:
- once in the margin-box as in case 1, with the « second part » of the block in a margin-box
- a second time in the next page. On the next page, the block has the same size as the fixed size declared for the block (so the block is cloned?) with the remaining text inside.
HTML: issue-40-case2.pdf
Result: issue-40-case2-wrong.pdf
We have to choose what is the right way.
Proposal 1, no break inside a block element (like Prince and PDF reactor): issue-40-case2-proposal1.pdf
Proposal 2, break inside a block element (like Vivliostyle?): issue-40-case2-proposal2.pdf
I think it would be good to make proposals 2, because from then proposal 1 will still be possible with a break-inside: avoid-page
.