xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r388577 - /xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_last-line-end-indent.xml
Date Fri, 24 Mar 2006 16:51:01 GMT
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


Mime
View raw message