From 9a2eed7945ca5b92b06438a58ac115e8fb1947bf Mon Sep 17 00:00:00 2001 From: Manuel Mall Date: Tue, 15 Nov 2005 10:28:50 +0000 Subject: [PATCH] Added the problem with whitespace around markers as a disabled test case, changed the example fo to work around the problem git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344348 13f79535-47bb-0310-9956-ffa450edef68 --- examples/fo/markers/hide.fo | 24 +++---- test/layoutengine/disabled-testcases.txt | 1 + .../standard-testcases/marker_bug.xml | 68 +++++++++++++++++++ 3 files changed, 77 insertions(+), 16 deletions(-) create mode 100755 test/layoutengine/standard-testcases/marker_bug.xml diff --git a/examples/fo/markers/hide.fo b/examples/fo/markers/hide.fo index 9e54df3fd..94dfa2c8b 100644 --- a/examples/fo/markers/hide.fo +++ b/examples/fo/markers/hide.fo @@ -42,12 +42,10 @@ ref-id="end-seq1"/>) - + marker-class-name="message"> WARNING: Page sequence contains: pages. - - + @@ -61,13 +59,11 @@ This page sequence only has one page so you will not see the message. - + marker-class-name="term"> - - + @@ -99,12 +95,10 @@ ref-id="end-of-document"/>) - + marker-class-name="message"> WARNING: Page sequence contains: pages. - - + @@ -124,12 +118,10 @@ Some more text on last page. - + marker-class-name="term"> - - + diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt index 7fc929258..8bb23ac87 100644 --- a/test/layoutengine/disabled-testcases.txt +++ b/test/layoutengine/disabled-testcases.txt @@ -22,6 +22,7 @@ leader-alignment.xml leader_leader-pattern_use-content_bug.xml list-block_keep-with-previous.xml list-item_block_keep-with-previous.xml +marker_bug.xml page-breaking_4.xml page-breaking_6.xml page-height_indefinite_simple.xml diff --git a/test/layoutengine/standard-testcases/marker_bug.xml b/test/layoutengine/standard-testcases/marker_bug.xml new file mode 100755 index 000000000..4dc5cfd89 --- /dev/null +++ b/test/layoutengine/standard-testcases/marker_bug.xml @@ -0,0 +1,68 @@ + + + + + +

+ This test checks for a bug with markers where white space is not removed. +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + First marker with whitespace around + + + + Second marker with no whitespace around + + + + + + + + + + + + + + + +
-- 2.39.5