Originally Posted by Jellby
Is this a "bug" in ADE or am I mistaken in my interpretation of how pagebreaks should work? Is there a simple workaround? Any Adobe employee reading this who could fix it?
I guess the Sony readers will have the same behaviour, am I right?
I actually think this is correct behavior. From the CSS 2.1 spec, "Allowed Page Breaks"
In the normal flow, page breaks can occur at the following places:
These breaks are subject to the following rules:
- In the vertical margin between block boxes. When a page break occurs here, the used values of the relevant 'margin-top' and 'margin-bottom' properties are set to '0'.
- Between line boxes inside a block box.
- Rule A: Breaking at (1) is allowed only if the 'page-break-after' and 'page-break-before' properties of all the elements generating boxes that meet at this margin allow it, which is when at least one of them has the value 'always', 'left', or 'right', or when all of them are 'auto'.
Seems pretty straightforward. Firefox/libgecko also expresses the same behavior when operating in paginated mode for i.e. printing. Not sure about IE, but the MSReader renderer doesn't
ignore the "relevant margin," alas.