diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-07-27 19:16:16 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-07-27 19:16:16 +0000 |
commit | 7b6ec458c567022af1c1e7e7efc13a4e5e118b9d (patch) | |
tree | 77ff686bbedf8416ca318f437e139632b4edec71 /test/layoutengine/testcases/page-master4.xml | |
parent | 47fb1f73f4e90b6bf603bc931b69da9de3889745 (diff) | |
download | xmlgraphics-fop-7b6ec458c567022af1c1e7e7efc13a4e5e118b9d.tar.gz xmlgraphics-fop-7b6ec458c567022af1c1e7e7efc13a4e5e118b9d.zip |
Add margin on simple-page-master as additional feature.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225580 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine/testcases/page-master4.xml')
-rw-r--r-- | test/layoutengine/testcases/page-master4.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/layoutengine/testcases/page-master4.xml b/test/layoutengine/testcases/page-master4.xml index bdbc0bd8b..f5d730d04 100644 --- a/test/layoutengine/testcases/page-master4.xml +++ b/test/layoutengine/testcases/page-master4.xml @@ -24,7 +24,7 @@ <fo> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> <fo:layout-master-set> - <fo:simple-page-master master-name="master1" page-width="5in" page-height="5in"> + <fo:simple-page-master master-name="master1" page-width="5in" page-height="5in" margin="10pt"> <fo:region-body background-color="rgb(100%, 100%, 80%)" margin="30pt"/> <fo:region-before background-color="rgb(100%, 80%, 80%)" extent="20pt"/> <fo:region-after background-color="rgb(80%, 80%, 80%)" extent="20pt" precedence="true" display-align="after"/> @@ -63,25 +63,25 @@ <eval expected="0 0 360000 360000" xpath="//pageViewport/@bounds"/> <eval expected="20000" xpath="//regionBefore/@bpda"/> - <eval expected="320000" xpath="//regionBefore/@ipda"/> + <eval expected="300000" 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="340000" xpath="//regionAfter/@ipda"/> + <!-- 360pt due to precendence --> <eval expected="color=#cccccc,repeat=0,horiz=0,vertical=0" xpath="//regionAfter/../@background"/> - <eval expected="340000" xpath="//regionStart/@bpda"/> + <eval expected="320000" 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"/> + <eval expected="320000" 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="280000" xpath="//regionBody/@bpda"/> + <eval expected="280000" xpath="//regionBody/@ipda"/> <eval expected="color=#ffffcc,repeat=0,horiz=0,vertical=0" xpath="//regionBody/../@background"/> </checks> |