Created attachment 22502 [details] testcase demonstrating the issue see attachment: should produce 5 pages, but results in only 3
resetting P2 open bugs to P3 pending further review
Created attachment 28690 [details] related issue if inline replaced by block I think that if the inline is replaced by a block we should still get 5 pages but we get 6.
Created attachment 28691 [details] output of original testcase.fo
Created attachment 28692 [details] output of newtestcase.fo
Created attachment 28735 [details] patch to address original issue described This patch fixes the original issue reported. The fix is not perfect and will probably need to be revisited in the future but it does its job without apparent side effects. With this fix break-before="page" in blocks inside inline elements (including nested inlines) are respected. This patch does not address the related issue exemplified by the newtescase.fo where the inline was replaced by a block. I will create a new ticket to log that issue.
Created attachment 28736 [details] new output with 5 pages.
patch applied at http://svn.apache.org/viewvc?rev=1334058&view=rev thanks andreas and luis!
please verify and close if satisfied with fix
This patch breaks support of break-before property on fo:table elements. See also newly attached test case.
Created attachment 29188 [details] testcase
Created attachment 29189 [details] PDF output before rev 1334058
Created attachment 29190 [details] PDF output after rev 1334058
Created attachment 29191 [details] fix for the break-before in a table elements with a break-before need to have the associated LayoutManager implement and have the type of BreakOpportunity; TableLayoutManager was not in that situation and hence the problem. there may be other cases but the fix is simple. I will provide a layout test later.
it is surprising that the issue with the break-before in the table was not caught by this layout engine render-test: table_table-row_break-before.xml
Created attachment 29205 [details] layout engine test layout engine test for attachment 29191 [details] (patch)
Patch submitted in rev. 1380726: http://svn.apache.org/viewvc?rev=1380726&view=rev Thanks! Vincent