From 001c8a9e479b1e14ec5940978ff7714ddd27a4bb Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 12 Apr 2006 08:58:46 +0000 Subject: Adding a test case that demonstrates a problem with forward references and page-number-citation. The reference's width is adjusted, but not the whole line. Some code in the area tree tries to adjust word- and letter-spacing but it does not seem to be working properly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@393420 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.xml | 5 +++ .../page-number-citation_forward-ref.xml | 46 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 test/layoutengine/standard-testcases/page-number-citation_forward-ref.xml (limited to 'test/layoutengine') diff --git a/test/layoutengine/disabled-testcases.xml b/test/layoutengine/disabled-testcases.xml index a4c883aaa..84f8bc5cd 100644 --- a/test/layoutengine/disabled-testcases.xml +++ b/test/layoutengine/disabled-testcases.xml @@ -225,6 +225,11 @@ Background-images on page-number-citations are not placed correctly. + + page-number-citation: Forward references not adjusted properly + page-number-citation_forward-ref.xml + Forward references are not properly adjusted when they are resolved. + IDs are not working on all FO elements page-number-citation_complex_1.xml diff --git a/test/layoutengine/standard-testcases/page-number-citation_forward-ref.xml b/test/layoutengine/standard-testcases/page-number-citation_forward-ref.xml new file mode 100644 index 000000000..81d70aaac --- /dev/null +++ b/test/layoutengine/standard-testcases/page-number-citation_forward-ref.xml @@ -0,0 +1,46 @@ + + + + + +

+ This test checks fo:page-number-citation, especially the width adjustment after a forward reference is resolved. +

+
+ + + + + + + + + + This block has id="first". + Note: The interesting part is on the second page! + Backward reference "first" + Forward reference "second" + This block has id="second". + + + + + + + + +
-- cgit v1.2.3