]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added missing checks.
authorJeremias Maerki <jeremias@apache.org>
Wed, 27 Jul 2005 19:06:49 +0000 (19:06 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 27 Jul 2005 19:06:49 +0000 (19:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225578 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/testcases/page-master4.xml

index 0da620785589a17f4957465badf2572059b00d3d..bdbc0bd8b9122ab71f9364044bbd1f4d91342fc5 100644 (file)
     </fo:root>
   </fo>
   <checks>
+    <eval expected="0 0 360000 360000" xpath="//pageViewport/@bounds"/>
+    
+    <eval expected="20000" xpath="//regionBefore/@bpda"/>
+    <eval expected="320000" xpath="//regionBefore/@ipda"/>
+    <eval expected="color=#ffcccc,repeat=0,horiz=0,vertical=0" xpath="//regionBefore/../@background"/>
+    
+    <eval expected="20000" xpath="//regionAfter/@bpda"/>
+    <eval expected="360000" xpath="//regionAfter/@ipda"/>
+    <!-- 360pt due to precendece -->
+    <eval expected="color=#cccccc,repeat=0,horiz=0,vertical=0" xpath="//regionAfter/../@background"/>
+    
+    <eval expected="340000" xpath="//regionStart/@bpda"/>
+    <eval expected="20000" xpath="//regionStart/@ipda"/>
+    <eval expected="color=#ccffcc,repeat=0,horiz=0,vertical=0" xpath="//regionStart/../@background"/>
+    
+    <eval expected="20000" xpath="//regionEnd/@bpda"/>
+    <eval expected="340000" xpath="//regionEnd/@ipda"/>
+    <!-- bpd and ipd flipped due to reference-orientation -->
+    <eval expected="color=#ccccff,repeat=0,horiz=0,vertical=0" xpath="//regionEnd/../@background"/>
+    
+    <eval expected="300000" xpath="//regionBody/@bpda"/>
+    <eval expected="300000" xpath="//regionBody/@ipda"/>
+    <eval expected="color=#ffffcc,repeat=0,horiz=0,vertical=0" xpath="//regionBody/../@background"/>
+    
   </checks>
 </testcase>