From b6fcfcbe1eacee2d008a3cbb30c0ff7c8a4a3b43 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Fri, 20 Apr 2007 19:18:02 +0000 Subject: [PATCH] First testcases for the collapsing-border model in tables git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530894 13f79535-47bb-0310-9956-ffa450edef68 --- .../table_border-collapse_collapse_1r1c.xml | 168 ++++++++++++ .../table_border-collapse_collapse_1r2c.xml | 232 +++++++++++++++++ .../table_border-collapse_collapse_2r1c.xml | 240 ++++++++++++++++++ .../table_border-collapse_collapse_nrnc.xml | 131 ++++++++++ 4 files changed, 771 insertions(+) create mode 100644 test/layoutengine/standard-testcases/table_border-collapse_collapse_1r1c.xml create mode 100644 test/layoutengine/standard-testcases/table_border-collapse_collapse_1r2c.xml create mode 100644 test/layoutengine/standard-testcases/table_border-collapse_collapse_2r1c.xml create mode 100644 test/layoutengine/standard-testcases/table_border-collapse_collapse_nrnc.xml diff --git a/test/layoutengine/standard-testcases/table_border-collapse_collapse_1r1c.xml b/test/layoutengine/standard-testcases/table_border-collapse_collapse_1r1c.xml new file mode 100644 index 000000000..4a2f1d7b8 --- /dev/null +++ b/test/layoutengine/standard-testcases/table_border-collapse_collapse_1r1c.xml @@ -0,0 +1,168 @@ + + + + + +

+ This test checks tables with collapse border model. Tables with only one cell. +

+
+ + + + + + + + + + Before the tables + + + + + + + + Cell 1 + + + + + Between tables + + + + + + + + Cell 1 Cell 1 Cell 1 Cell 1 + + + + + Between tables + + + + + + + + Cell 1 + + + + + Between tables + + + + + + + + Cell 1 Cell 1 Cell 1 Cell 1 + + + + + After the tables + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/standard-testcases/table_border-collapse_collapse_1r2c.xml b/test/layoutengine/standard-testcases/table_border-collapse_collapse_1r2c.xml new file mode 100644 index 000000000..f7f544dd3 --- /dev/null +++ b/test/layoutengine/standard-testcases/table_border-collapse_collapse_1r2c.xml @@ -0,0 +1,232 @@ + + + + + +

+ This test checks tables with collapse border model. Tables of one row two columns. +

+
+ + + + + + + + + + Before the tables + + + + + + + + Cell 1.1 + + + Cell 1.2 + + + + + Between tables + + + + + + + + Cell 1.1 + + + Cell 1.2 Cell 1.2 Cell 1.2 Cell 1.2 + + + + + Between tables + + + + + + + + cell 1.1 + + + cell 1.2 + + + + + Between tables + + + + + + + + cell1.1 cell1.1 cell1.1 cell1.1 + + + cell 1.2 + + + + + After the tables + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/standard-testcases/table_border-collapse_collapse_2r1c.xml b/test/layoutengine/standard-testcases/table_border-collapse_collapse_2r1c.xml new file mode 100644 index 000000000..0f749ec50 --- /dev/null +++ b/test/layoutengine/standard-testcases/table_border-collapse_collapse_2r1c.xml @@ -0,0 +1,240 @@ + + + + + +

+ This test checks tables with collapse border model. Tables of two rows one column. +

+
+ + + + + + + + + + Before the tables + + + + + + + + Cell 1.1 + + + + + Cell 2.1 + + + + + Between tables + + + + + + + + Cell 1.1 + + + + + Cell 2.1 Cell 2.1 Cell 2.1 Cell 2.1 + + + + + Between tables + + + + + + + + Cell 1.1 + + + + + cell 2.1 + + + + + Between tables + + + + + + + + Cell 1.1 Cell 1.1 Cell 1.1 Cell 1.1 + + + + + cell 2.1 + + + + + After the tables + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/standard-testcases/table_border-collapse_collapse_nrnc.xml b/test/layoutengine/standard-testcases/table_border-collapse_collapse_nrnc.xml new file mode 100644 index 000000000..c497c054e --- /dev/null +++ b/test/layoutengine/standard-testcases/table_border-collapse_collapse_nrnc.xml @@ -0,0 +1,131 @@ + + + + + +

+ This test checks tables with collapse border model. General tables: several rows and columns. +

+
+ + + + + + + + + + Before the tables + + + + + + + + Cell 1.1 Cell 1.1 Cell 1.1 Cell 1.1 + + + Cell 1.2 + + + + + Cell 2.1 + + + Cell 2.2 Cell 2.2 Cell 2.2 Cell 2.2 + + + + + Between tables + After the tables + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-- 2.39.5