From 5b21e4f1a8836092c89b11ddbde8f53c89970cc8 Mon Sep 17 00:00:00 2001 From: Manuel Mall Date: Wed, 4 Jan 2006 13:33:23 +0000 Subject: [PATCH] Added testcases for recently identified problems with markers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365906 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.xml | 14 ++++ .../standard-testcases/marker_font-size.xml | 71 ++++++++++++++++ .../marker_white-space-collapse.xml | 80 +++++++++++++++++++ 3 files changed, 165 insertions(+) create mode 100644 test/layoutengine/standard-testcases/marker_font-size.xml create mode 100644 test/layoutengine/standard-testcases/marker_white-space-collapse.xml diff --git a/test/layoutengine/disabled-testcases.xml b/test/layoutengine/disabled-testcases.xml index ab223260d..3858f446e 100755 --- a/test/layoutengine/disabled-testcases.xml +++ b/test/layoutengine/disabled-testcases.xml @@ -199,6 +199,20 @@ Keep-with-previous doesn't work inside tables and lists, yet. + + Whitespace around markers is not handled correctly + marker_white-space-collapse.xml + Whitespace within markers is handled according to the value of + the white-space-collapse property in the context of the fo:marker and not according to + the value of the property in the fo:retrieve-marker context. + + + Relative font sizes within markers are not handled correctly + marker_font-size.xml + Relative font sizes within markers are evaluated according to the + font size in the fo:marker context and not the font size in the fo:retrieve-marker + context. + Page breaking doesn't deal with IPD changes page-breaking_4.xml diff --git a/test/layoutengine/standard-testcases/marker_font-size.xml b/test/layoutengine/standard-testcases/marker_font-size.xml new file mode 100644 index 000000000..b7619f845 --- /dev/null +++ b/test/layoutengine/standard-testcases/marker_font-size.xml @@ -0,0 +1,71 @@ + + + + + +

+ This test checks markers and font-size inheritance. + This is currently incorrectly handled in that for relative font sizes + the base value of the fo:marker context is used and not the font size + from the fo:retrieve-marker context. +

+
+ + + + + + + + + + + + + 1. Marker + + + + + 2. Marker + + + + + + + First marker with small font + + + + + + + Second marker big font + + + + + + + + + + + + +
diff --git a/test/layoutengine/standard-testcases/marker_white-space-collapse.xml b/test/layoutengine/standard-testcases/marker_white-space-collapse.xml new file mode 100644 index 000000000..d4e8192d2 --- /dev/null +++ b/test/layoutengine/standard-testcases/marker_white-space-collapse.xml @@ -0,0 +1,80 @@ + + + + + +

+ This test checks markers and white-space-collapse inheritance. + This is currently incorrectly handled in that the white-space-collapse property + value active in the fo:marker context is applied instead of the value of the + white-space-collapse property the fo:retrieve-marker-context. +

+
+ + + + + + + + + + + + + 1. Marker + + + 1. Marker + + + + + 2. Marker + + + 2. Marker + + + + + + + First marker with whitespace around + + + + + + + Second marker with whitespace around + + + + + + + + + + + + + + + +
-- 2.39.5