View Single Post
Old 04-10-2009, 08:42 AM   #2
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 622
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Jellby View Post
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":

Quote:
In the normal flow, page breaks can occur at the following places:
  1. 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'.
  2. Between line boxes inside a block box.
These breaks are subject to the following rules:
  • 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'.
[Emphasis added]
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.
llasram is offline   Reply With Quote