From: Jeremias Maerki Date: Thu, 17 Mar 2005 13:34:00 +0000 (+0000) Subject: Test for text-indent following the issue on fop-users (without checks so far). X-Git-Tag: Root_Temp_KnuthStylePageBreaking~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bdc35805b971bb2e625d869161656c9fa2adf990;p=xmlgraphics-fop.git Test for text-indent following the issue on fop-users (without checks so far). My local code with the Knuth page breaking seems to handle the test case well. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198500 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/layoutengine/testcases/indent2.xml b/test/layoutengine/testcases/indent2.xml new file mode 100644 index 000000000..4f4481c75 --- /dev/null +++ b/test/layoutengine/testcases/indent2.xml @@ -0,0 +1,65 @@ + + + + + +

+ This test checks the text-indent property. +

+
+ + + + + + + + + + +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. + + +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. + + +This is just for testing purpose and this line will be indented. + + This is the nested block. + +The text following the nested block should be indented as well. The text following +the nested block should be indented as well. + + + + + + + +