From b4e0a4ded3a473345fd67564b7ff4391815014cb Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 22 Jun 2005 15:01:17 +0000 Subject: [PATCH] Tests for breaks on tables. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198766 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/testcases/breaks3.xml | 73 +++++++++++++++++++++++++ test/layoutengine/testcases/breaks4.xml | 63 +++++++++++++++++++++ test/layoutengine/testcases/breaks5.xml | 70 ++++++++++++++++++++++++ test/layoutengine/testcases/breaks6.xml | 56 +++++++++++++++++++ test/layoutengine/testcases/breaks7.xml | 56 +++++++++++++++++++ 5 files changed, 318 insertions(+) create mode 100644 test/layoutengine/testcases/breaks3.xml create mode 100644 test/layoutengine/testcases/breaks4.xml create mode 100644 test/layoutengine/testcases/breaks5.xml create mode 100644 test/layoutengine/testcases/breaks6.xml create mode 100644 test/layoutengine/testcases/breaks7.xml diff --git a/test/layoutengine/testcases/breaks3.xml b/test/layoutengine/testcases/breaks3.xml new file mode 100644 index 000000000..e4df0baec --- /dev/null +++ b/test/layoutengine/testcases/breaks3.xml @@ -0,0 +1,73 @@ + + + + + +

+ This test checks breaks on tables: breaks inside table-cell content. +

+
+ + + + + + + + + + + + + + + + cell1 - line 1 + cell1 - line 2 + cell1 - line 3 + + + cell2 - line 1 + cell2 - line 2 + + + + + cell3 + + + cell4 + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/breaks4.xml b/test/layoutengine/testcases/breaks4.xml new file mode 100644 index 000000000..693f27775 --- /dev/null +++ b/test/layoutengine/testcases/breaks4.xml @@ -0,0 +1,63 @@ + + + + + +

+ This test checks breaks on tables. Breaks on table-row during row spanning are ignored + (XSL 1.0, 7.19.1 and 7.19.2). +

+
+ + + + + + + + + + + + + + + + cell1 line 1 + cell1 line 2 + cell1 line 3 + + + cell2 + + + + + cell4 + + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/breaks5.xml b/test/layoutengine/testcases/breaks5.xml new file mode 100644 index 000000000..ca3357e44 --- /dev/null +++ b/test/layoutengine/testcases/breaks5.xml @@ -0,0 +1,70 @@ + + + + + +

+ This test checks breaks on tables, especially breaks on table-rows in the middle of a table. +

+
+ + + + + + + + + + + + + + + + cell1 + + + cell2 + + + + + cell3 + + + cell4 + + + + + cell5 + + + cell6 + + + + + + + + + + + +
diff --git a/test/layoutengine/testcases/breaks6.xml b/test/layoutengine/testcases/breaks6.xml new file mode 100644 index 000000000..d939c2599 --- /dev/null +++ b/test/layoutengine/testcases/breaks6.xml @@ -0,0 +1,56 @@ + + + + + +

+ This test checks breaks on tables, especially breaks on the first and last table-rows. +

+
+ + + + + + + + + + before the table + + + + + + + cell3 + + + cell4 + + + + + after the table + + + + + + + +
diff --git a/test/layoutengine/testcases/breaks7.xml b/test/layoutengine/testcases/breaks7.xml new file mode 100644 index 000000000..af2df2e0b --- /dev/null +++ b/test/layoutengine/testcases/breaks7.xml @@ -0,0 +1,56 @@ + + + + + +

+ This test checks breaks on fo:table. +

+
+ + + + + + + + + + before the table + + + + + + + cell3 + + + cell4 + + + + + after the table + + + + + + + +
-- 2.39.5