From 6e70a0073ae05ec5e71e81e4290c86a39d2e4afe Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 20 Dec 2005 09:33:44 +0000 Subject: Bugzilla #37964: Hard breaks with even-page or odd-page were not handled correctly when spaces were surrounding the break. The code that retrieves the break-class from the penalty assumes that the penalty is on the last element in the list, but the space resolution added additional glues after the penalty. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357942 13f79535-47bb-0310-9956-ffa450edef68 --- .../block_break-before_bug37964.xml | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 test/layoutengine/standard-testcases/block_break-before_bug37964.xml (limited to 'test') diff --git a/test/layoutengine/standard-testcases/block_break-before_bug37964.xml b/test/layoutengine/standard-testcases/block_break-before_bug37964.xml new file mode 100644 index 000000000..dfcfdf8e4 --- /dev/null +++ b/test/layoutengine/standard-testcases/block_break-before_bug37964.xml @@ -0,0 +1,48 @@ + + + + + +

+ This test checks basic breaks, particularly Bugzilla #37964 where I break-before with a + "even-page" did not end up on an even page due to a bug in space-resolution. +

+
+ + + + + + + + + + line1 + line2 + line3 break-before="odd-page" + line4 + + + + + + + + + + +
-- cgit v1.2.3