From 62b003446fb39b929141b5ecbfee5e278497be6f Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 9 Feb 2005 15:31:21 +0000 Subject: [PATCH] Test cases for fixed table layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198406 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/disabled-testcases.txt | 3 +- test/layoutengine/testcases/table-fixed1.xml | 109 +++++++++++++++++++ test/layoutengine/testcases/table-fixed2.xml | 65 +++++++++++ 3 files changed, 176 insertions(+), 1 deletion(-) create mode 100644 test/layoutengine/testcases/table-fixed1.xml create mode 100644 test/layoutengine/testcases/table-fixed2.xml diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt index 63b0a96d0..bc18f5f9c 100644 --- a/test/layoutengine/disabled-testcases.txt +++ b/test/layoutengine/disabled-testcases.txt @@ -1,4 +1,5 @@ breaks1.xml breaks2.xml markers5a.xml -table-cell3a.xml \ No newline at end of file +table-cell3a.xml +table-fixed2.xml \ No newline at end of file diff --git a/test/layoutengine/testcases/table-fixed1.xml b/test/layoutengine/testcases/table-fixed1.xml new file mode 100644 index 000000000..5da422583 --- /dev/null +++ b/test/layoutengine/testcases/table-fixed1.xml @@ -0,0 +1,109 @@ + + + + + +

+ This test checks tables with table-layout="fixed". +

+
+ + + + + + + + + + + + + + + + cell1 + + + cell2 + + + + + cell3 + + + cell4 + + + + + + + + + + + + cell1 + + + cell2 + + + cell3 + + + + + cell4 + + + cell5 + + + cell6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/table-fixed2.xml b/test/layoutengine/testcases/table-fixed2.xml new file mode 100644 index 000000000..5e5a2f740 --- /dev/null +++ b/test/layoutengine/testcases/table-fixed2.xml @@ -0,0 +1,65 @@ + + + + + +

+ This test checks tables with table-layout="fixed" with no table-columns specified. +

+

+ Currently doesn't work. Please see the comment in TableLayoutManager.createColumnsFromFirstRow(). +

+
+ + + + + + + + + + + + + cell1 + + + cell2 + + + cell3 + + + cell4 + + + + + + + + + + + + + + + + +
-- 2.39.5