From bbd0ff148003804db8ef3b83b569c18870e260bb Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Sat, 27 Aug 2005 21:51:40 +0000 Subject: [PATCH] Added negative reference-orientations to block-container4. Now checking the CTMs, too New block-container4a based on the test case submitted by Yannick Valot for Bugzilla #36391. I had to disable block-container4a because the CTM for 180/-180 is really wrong. Comment about the defect added to the checks. There's no quick fix, but this is also low-priority for me. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240461 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.txt | 1 + .../testcases/block-container4.xml | 147 +++++++++++++----- .../testcases/block-container4a.xml | 106 +++++++++++++ 3 files changed, 212 insertions(+), 42 deletions(-) create mode 100644 test/layoutengine/testcases/block-container4a.xml diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt index a01ae1a96..f0907e52a 100644 --- a/test/layoutengine/disabled-testcases.txt +++ b/test/layoutengine/disabled-testcases.txt @@ -1,3 +1,4 @@ +block-container4a.xml external-graphic1.xml external-graphic2.xml inline-block2.xml diff --git a/test/layoutengine/testcases/block-container4.xml b/test/layoutengine/testcases/block-container4.xml index c4d8c928f..c5ea1020e 100644 --- a/test/layoutengine/testcases/block-container4.xml +++ b/test/layoutengine/testcases/block-container4.xml @@ -25,7 +25,7 @@ - + @@ -43,66 +43,129 @@ ro = 270 + + + ro = 0 + + + ro = -90 + + + ro = -180 + + + ro = -270 + - - - - - + + + + + + - + - - - - + + + + - - - - - + + + + + + - + - - - - + + + + - - - - - + + + + + + - + - - - - + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - + + + + - + + + + + + + + + + + + + + + diff --git a/test/layoutengine/testcases/block-container4a.xml b/test/layoutengine/testcases/block-container4a.xml new file mode 100644 index 000000000..25a851391 --- /dev/null +++ b/test/layoutengine/testcases/block-container4a.xml @@ -0,0 +1,106 @@ + + + + + +

+ This test checks in-flow block-containers with reference orientation. + Special case with nested block-containers from Bugzilla #36391. +

+
+ + + + + + + + + + Reference orientation : 0 + + + ABC + + + Reference orientation : 90 + + + ABC + + + Reference orientation : -270 + + + ABC + + + Reference orientation : 180 + + + ABC + + + Reference orientation : -180 + + + ABC + + + Reference orientation : 270 + + + ABC + + + Reference orientation : -90 + + + ABC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-- 2.39.5