From: Jeremias Maerki Date: Fri, 11 Mar 2005 15:58:08 +0000 (+0000) Subject: Test case for space conditionality (without checks ATM) X-Git-Tag: Root_Temp_KnuthStylePageBreaking~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a54c8bc80dcb5a23f8112b480f3303665134b78;p=xmlgraphics-fop.git Test case for space conditionality (without checks ATM) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198482 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/layoutengine/testcases/space-block2.xml b/test/layoutengine/testcases/space-block2.xml new file mode 100644 index 000000000..58b5a3e6f --- /dev/null +++ b/test/layoutengine/testcases/space-block2.xml @@ -0,0 +1,67 @@ + + + + + +

+ This test checks block-level space properties. +

+
+ + + + + + + + + + +In olden times when wishing still helped one, there lived a king whose daughters +were all beautiful; and the youngest was so beautiful that the sun itself, which +has seen so much, was astonished whenever it shone in her face. Close by the king's +castle lay a great dark forest, and under an old lime-tree in the forest was a well, +and when the day was very warm, the king's child went out into the forest and sat +down by the side of the cool fountain; and when she was bored she took a golden ball, +and threw it up on high and caught it; and this ball was her favorite plaything. + + +Two blocks, testing conditionality="retain". + + + + + + +In olden times when wishing still helped one, there lived a king whose daughters +were all beautiful; and the youngest was so beautiful that the sun itself, which +has seen so much, was astonished whenever it shone in her face. Close by the king's +castle lay a great dark forest, and under an old lime-tree in the forest was a well, +and when the day was very warm, the king's child went out into the forest and sat +down by the side of the cool fountain; and when she was bored she took a golden ball, +and threw it up on high and caught it; and this ball was her favorite plaything. + + +Two blocks, testing conditionality="discard". + + + + + + + +