From d4939d6e1a091cf18da8b31ccf3a36b882ead558 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Thu, 7 Dec 2006 14:05:59 +0000 Subject: [PATCH] Add a disabled testcase for bug #40230 (was in my local copy for long) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@483461 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.xml | 9 +++- .../block_break-after_bug40230.xml | 45 +++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 test/layoutengine/standard-testcases/block_break-after_bug40230.xml diff --git a/test/layoutengine/disabled-testcases.xml b/test/layoutengine/disabled-testcases.xml index d4b94361f..cdaaaa741 100644 --- a/test/layoutengine/disabled-testcases.xml +++ b/test/layoutengine/disabled-testcases.xml @@ -318,4 +318,11 @@ block-level element because its layout manager is written to handle only inline content. - \ No newline at end of file + + Bugzilla #40230: invalid extra page break + block_break-after_bug40230.xml + Currently an extra page is created even if there is nothing + after a block with break-after="page" + http://issues.apache.org/bugzilla/show_bug.cgi?id=40230 + + diff --git a/test/layoutengine/standard-testcases/block_break-after_bug40230.xml b/test/layoutengine/standard-testcases/block_break-after_bug40230.xml new file mode 100644 index 000000000..15c66482f --- /dev/null +++ b/test/layoutengine/standard-testcases/block_break-after_bug40230.xml @@ -0,0 +1,45 @@ + + + + + +

+ This test checks that a break-after when there is no further element + after should not produce any additional page. +

+
+ + + + + + + + + + Some text with an <fo:block break-after="page"/> after. + + + + + + + + +
-- 2.39.5