From: Jeremias Maerki Date: Mon, 21 Mar 2005 15:35:43 +0000 (+0000) Subject: First test case for keep-with-previous. X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=235ba2a81b6d555f149329098a54eaf7830e1152;p=xmlgraphics-fop.git First test case for keep-with-previous. Added checks for the "within-column" part for all three test cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_KnuthStylePageBreaking@198526 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/layoutengine/testcases/keep-together1.xml b/test/layoutengine/testcases/keep-together1.xml index cf23a80f1..aa3c8085d 100644 --- a/test/layoutengine/testcases/keep-together1.xml +++ b/test/layoutengine/testcases/keep-together1.xml @@ -57,26 +57,48 @@ block11 block12 - - block13 - block14 - block15 - - block16 + block13 + + The quick brown fox jumps over the lazy dog. + The quick brown fox jumps over the lazy dog. + The quick brown fox jumps over the lazy dog. + + + block14 + block15 + + block16 + block17 + block18 + block19 + + block20 block21 block22 + + block23 + block24 + block25 + + block26 + + + + + block31 + block32 - block23 + block33 - block24 - block25 + block34 + block35 - block26 + block36 @@ -97,14 +119,25 @@ - - + + + + + + + + + + + + + - - - - - - + + + + + + diff --git a/test/layoutengine/testcases/keep-with-next1.xml b/test/layoutengine/testcases/keep-with-next1.xml index cfa2f9c5c..120c2c806 100644 --- a/test/layoutengine/testcases/keep-with-next1.xml +++ b/test/layoutengine/testcases/keep-with-next1.xml @@ -48,6 +48,23 @@ block11 + + + block21 + block22 + block23 + block24 + block25 + + block26 + block27 + block28 + block29 + block30 + + block31 + + @@ -62,5 +79,17 @@ + + + + + + + + + + + + diff --git a/test/layoutengine/testcases/keep-with-previous1.xml b/test/layoutengine/testcases/keep-with-previous1.xml new file mode 100644 index 000000000..8dd297802 --- /dev/null +++ b/test/layoutengine/testcases/keep-with-previous1.xml @@ -0,0 +1,95 @@ + + + + + +

+ This test checks keep-with-previous. +

+

+ Widows and Orphans are disabled in this test to avoid side-effects. +

+
+ + + + + + + + + + block1 + block2 + block3 + block4 + block5 + + block6 + block7 + block8 + block9 + block10 + + block11 + + + + + block21 + block22 + block23 + block24 + block25 + + block26 + block27 + block28 + block29 + block30 + + block31 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +