From 7a8e9314a474f8928b6a0106d32f20ca32814d9c Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 2 Feb 2006 08:12:14 +0000 Subject: [PATCH] Demonstrating the problem reported by Jan Kohnert. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374297 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.xml | 7 +++ .../standard-testcases/wrapper_block.xml | 49 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 test/layoutengine/standard-testcases/wrapper_block.xml diff --git a/test/layoutengine/disabled-testcases.xml b/test/layoutengine/disabled-testcases.xml index 78ef2a7eb..654901185 100755 --- a/test/layoutengine/disabled-testcases.xml +++ b/test/layoutengine/disabled-testcases.xml @@ -333,4 +333,11 @@ is probably not expressing the indended outcome according to the spec. The test case should be revisited. + + fo:wrapper around block-level content + wrapper_block.xml + A ClassCastException occurs when fo:wrapper directly surrounds a + block-level element because its layout manager is written to handle only + inline content. + \ No newline at end of file diff --git a/test/layoutengine/standard-testcases/wrapper_block.xml b/test/layoutengine/standard-testcases/wrapper_block.xml new file mode 100644 index 000000000..cec9d6e90 --- /dev/null +++ b/test/layoutengine/standard-testcases/wrapper_block.xml @@ -0,0 +1,49 @@ + + + + + +

+ This test checks fo:wrapper surrounding block-level content. +

+
+ + + + + + + + + + + block content. + + + + + + + + + + 3 + + + + +
-- 2.39.5