]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Corrected my interpretation of border-separation.
authorJeremias Maerki <jeremias@apache.org>
Wed, 9 Feb 2005 11:53:16 +0000 (11:53 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 9 Feb 2005 11:53:16 +0000 (11:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198405 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/testcases/table-cell5a.xml

index 0b95f20914357c8dea04b55e5d199279f587748c..9b742802de065d6272229cdb0e4d619c7ae10edb 100644 (file)
     <!-- cell 1 -->
     <eval expected="24400" xpath="//flow/block[1]/block[1]/@bpda"/>
     <eval expected="24400" xpath="//flow/block[1]/block[1]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[1]/@ipda"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[1]/@ipd"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[1]/@ipda"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[1]/@ipd"/>
+    <eval expected="2500" xpath="//flow/block[1]/block[1]/@left-offset"/>
     <eval expected="14400" xpath="//flow/block[1]/block[1]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[1]/block[1]/block[1]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[1]/block[1]/@ipda"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[1]/block[1]/@ipd"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[1]/block[1]/@ipda"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[1]/block[1]/@ipd"/>
 
     <!-- cell 2 -->
     <eval expected="24400" xpath="//flow/block[1]/block[2]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[1]/block[2]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[2]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[1]/block[2]/@ipd"/>
-    <eval expected="170000" xpath="//flow/block[1]/block[2]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[2]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[1]/block[2]/@ipd"/>
+    <eval expected="167500" xpath="//flow/block[1]/block[2]/@left-offset"/>
     <eval expected="14400" xpath="//flow/block[1]/block[2]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[1]/block[2]/block[1]/@bpd"/>
-    <eval expected="150000" xpath="//flow/block[1]/block[2]/block[1]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[1]/block[2]/block[1]/@ipd"/>
+    <eval expected="145000" xpath="//flow/block[1]/block[2]/block[1]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[1]/block[2]/block[1]/@ipd"/>
     <eval expected="5000 5000 5000 5000" xpath="//flow/block[1]/block[2]/@bap"/>
 
     <!-- cell 3 -->
     <eval expected="40000" xpath="//flow/block[1]/block[3]/@bpda"/>
     <eval expected="30000" xpath="//flow/block[1]/block[3]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[3]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[1]/block[3]/@ipd"/>
-    <eval expected="5000" xpath="//flow/block[1]/block[3]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[3]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[1]/block[3]/@ipd"/>
+    <eval expected="7500" xpath="//flow/block[1]/block[3]/@left-offset"/>
     <eval expected="24400" xpath="//flow/block[1]/block[3]/@top-offset"/>
     <eval expected="14400" xpath="//flow/block[1]/block[3]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[1]/block[3]/block[1]/@bpd"/>
-    <eval expected="150000" xpath="//flow/block[1]/block[3]/block[1]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[1]/block[3]/block[1]/@ipd"/>
+    <eval expected="145000" xpath="//flow/block[1]/block[3]/block[1]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[1]/block[3]/block[1]/@ipd"/>
     <eval expected="5000 5000 5000 5000" xpath="//flow/block[1]/block[3]/@bap"/>
 
     <!-- cell 4 -->
     <eval expected="40000" xpath="//flow/block[1]/block[4]/@bpda"/>
     <eval expected="20000" xpath="//flow/block[1]/block[4]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[1]/block[4]/@ipda"/>
-    <eval expected="140000" xpath="//flow/block[1]/block[4]/@ipd"/>
-    <eval expected="175000" xpath="//flow/block[1]/block[4]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[1]/block[4]/@ipda"/>
+    <eval expected="135000" xpath="//flow/block[1]/block[4]/@ipd"/>
+    <eval expected="172500" xpath="//flow/block[1]/block[4]/@left-offset"/>
     <eval expected="24400" xpath="//flow/block[1]/block[4]/@top-offset"/>
     <eval expected="14400" xpath="//flow/block[1]/block[4]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[1]/block[4]/block[1]/@bpd"/>
-    <eval expected="140000" xpath="//flow/block[1]/block[4]/block[1]/@ipda"/>
-    <eval expected="140000" xpath="//flow/block[1]/block[4]/block[1]/@ipd"/>
+    <eval expected="135000" xpath="//flow/block[1]/block[4]/block[1]/@ipda"/>
+    <eval expected="135000" xpath="//flow/block[1]/block[4]/block[1]/@ipd"/>
     <eval expected="10000 10000 10000 10000" xpath="//flow/block[1]/block[4]/@bap"/>
 
     <!-- *** table 2 with border-separation instead of border-spacing *** -->
     <!-- cell 1 -->
     <eval expected="24400" xpath="//flow/block[3]/block[1]/@bpda"/>
     <eval expected="24400" xpath="//flow/block[3]/block[1]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[1]/@ipda"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[1]/@ipd"/>
-    <eval expected="10000" xpath="//flow/block[3]/block[1]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[1]/@ipda"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[1]/@ipd"/>
+    <eval expected="12500" xpath="//flow/block[3]/block[1]/@left-offset"/>
     <eval expected="14400" xpath="//flow/block[3]/block[1]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[3]/block[1]/block[1]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[1]/block[1]/@ipda"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[1]/block[1]/@ipd"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[1]/block[1]/@ipda"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[1]/block[1]/@ipd"/>
 
     <!-- cell 2 -->
     <eval expected="24400" xpath="//flow/block[3]/block[2]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[3]/block[2]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[2]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[3]/block[2]/@ipd"/>
-    <eval expected="180000" xpath="//flow/block[3]/block[2]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[2]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[3]/block[2]/@ipd"/>
+    <eval expected="177500" xpath="//flow/block[3]/block[2]/@left-offset"/>
     <eval expected="14400" xpath="//flow/block[3]/block[2]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[3]/block[2]/block[1]/@bpd"/>
-    <eval expected="150000" xpath="//flow/block[3]/block[2]/block[1]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[3]/block[2]/block[1]/@ipd"/>
+    <eval expected="145000" xpath="//flow/block[3]/block[2]/block[1]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[3]/block[2]/block[1]/@ipd"/>
     <eval expected="5000 5000 5000 5000" xpath="//flow/block[3]/block[2]/@bap"/>
 
     <!-- cell 3 -->
     <eval expected="40000" xpath="//flow/block[3]/block[3]/@bpda"/>
     <eval expected="30000" xpath="//flow/block[3]/block[3]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[3]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[3]/block[3]/@ipd"/>
-    <eval expected="15000" xpath="//flow/block[3]/block[3]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[3]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[3]/block[3]/@ipd"/>
+    <eval expected="17500" xpath="//flow/block[3]/block[3]/@left-offset"/>
     <eval expected="24400" xpath="//flow/block[3]/block[3]/@top-offset"/>
     <eval expected="14400" xpath="//flow/block[3]/block[3]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[3]/block[3]/block[1]/@bpd"/>
-    <eval expected="150000" xpath="//flow/block[3]/block[3]/block[1]/@ipda"/>
-    <eval expected="150000" xpath="//flow/block[3]/block[3]/block[1]/@ipd"/>
+    <eval expected="145000" xpath="//flow/block[3]/block[3]/block[1]/@ipda"/>
+    <eval expected="145000" xpath="//flow/block[3]/block[3]/block[1]/@ipd"/>
     <eval expected="5000 5000 5000 5000" xpath="//flow/block[3]/block[3]/@bap"/>
 
     <!-- cell 4 -->
     <eval expected="40000" xpath="//flow/block[3]/block[4]/@bpda"/>
     <eval expected="20000" xpath="//flow/block[3]/block[4]/@bpd"/>
-    <eval expected="160000" xpath="//flow/block[3]/block[4]/@ipda"/>
-    <eval expected="140000" xpath="//flow/block[3]/block[4]/@ipd"/>
-    <eval expected="185000" xpath="//flow/block[3]/block[4]/@left-offset"/>
+    <eval expected="155000" xpath="//flow/block[3]/block[4]/@ipda"/>
+    <eval expected="135000" xpath="//flow/block[3]/block[4]/@ipd"/>
+    <eval expected="182500" xpath="//flow/block[3]/block[4]/@left-offset"/>
     <eval expected="24400" xpath="//flow/block[3]/block[4]/@top-offset"/>
     <eval expected="14400" xpath="//flow/block[3]/block[4]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[3]/block[4]/block[1]/@bpd"/>
-    <eval expected="140000" xpath="//flow/block[3]/block[4]/block[1]/@ipda"/>
-    <eval expected="140000" xpath="//flow/block[3]/block[4]/block[1]/@ipd"/>
+    <eval expected="135000" xpath="//flow/block[3]/block[4]/block[1]/@ipda"/>
+    <eval expected="135000" xpath="//flow/block[3]/block[4]/block[1]/@ipd"/>
     <eval expected="10000 10000 10000 10000" xpath="//flow/block[3]/block[4]/@bap"/>
 
   </checks>