You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2006/03/24 17:51:01 UTC
svn commit: r388577 -
/xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml
Author: jeremias
Date: Fri Mar 24 08:50:59 2006
New Revision: 388577
URL: http://svn.apache.org/viewcvs?rev=388577&view=rev
Log:
Demonstrating negative last-line-end-indent.
Modified:
xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml
Modified: xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml?rev=388577&r1=388576&r2=388577&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml (original)
+++ xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml Fri Mar 24 08:50:59 2006
@@ -40,6 +40,11 @@
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.
</fo:block>
+ <fo:block last-line-end-indent="-20pt" end-indent="20pt" text-align="justify" text-align-last="justify" id="lastneg">
+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.
+ </fo:block>
<fo:block last-line-end-indent="50%" text-align="justify" text-align-last="justify" id="justify50">
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
@@ -73,6 +78,11 @@
<eval expected="360000" xpath="//block[@prod-id='justify']/lineArea[2]/text/@ipd"/>
<eval expected="360000" xpath="//block[@prod-id='justify']/lineArea[3]/text/@ipd"/>
<eval expected="340000" xpath="//block[@prod-id='justify']/lineArea[4]/text/@ipd"/>
+
+ <eval expected="340000" xpath="//block[@prod-id='last0']/lineArea[1]/text/@ipd"/>
+ <eval expected="340000" xpath="//block[@prod-id='last0']/lineArea[2]/text/@ipd"/>
+ <eval expected="340000" xpath="//block[@prod-id='last0']/lineArea[3]/text/@ipd"/>
+ <eval expected="360000" xpath="//block[@prod-id='last0']/lineArea[4]/text/@ipd"/>
<eval expected="360000" xpath="//block[@prod-id='justify50']/lineArea[1]/text/@ipd"/>
<eval expected="360000" xpath="//block[@prod-id='justify50']/lineArea[2]/text/@ipd"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org