diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-05-31 08:33:36 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-05-31 08:33:36 +0000 |
commit | eccd73c523bdda6a0634e9849141492f7b14ad63 (patch) | |
tree | 72f06ec1481249bdd639083ee646b3c3fd4be7a4 /test/fotree | |
parent | 05761b1df54ada8a762bfa879dc0e3455d33d828 (diff) | |
download | xmlgraphics-fop-eccd73c523bdda6a0634e9849141492f7b14ad63.tar.gz xmlgraphics-fop-eccd73c523bdda6a0634e9849141492f7b14ad63.zip |
Started unifying URI resolution mechanism, redesigned configuration system and created flexible config testing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/fotree')
-rw-r--r-- | test/fotree/testcases/background-position-shorthand-test.fo | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/fotree/testcases/background-position-shorthand-test.fo b/test/fotree/testcases/background-position-shorthand-test.fo index 6bc793535..23bdc4ec5 100644 --- a/test/fotree/testcases/background-position-shorthand-test.fo +++ b/test/fotree/testcases/background-position-shorthand-test.fo @@ -24,56 +24,56 @@ </fo:layout-master-set> <fo:page-sequence master-reference="simpleA4"> <fo:flow flow-name="xsl-region-body"> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg"> + <fo:block background-image="test/resources/images/bgimg72dpi.jpg"> <test:assert property="background-position-horizontal" expected="0mpt"/> <test:assert property="background-position-vertical" expected="0mpt"/> Test background-position shorthand: initial values </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="50% 50%"> <test:assert property="background-position-horizontal" expected="50.0%"/> <test:assert property="background-position-vertical" expected="50.0%"/> Test background-position shorthand: "50% 50%" </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="2in 50%"> <test:assert property="background-position-horizontal" expected="144000mpt"/> <test:assert property="background-position-vertical" expected="50.0%"/> Test background-position shorthand: "2in 50%" </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="100%"> <test:assert property="background-position-horizontal" expected="100.0%"/> <test:assert property="background-position-vertical" expected="50.0%"/> Test background-position shorthand: "100%" </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="top center"> <test:assert property="background-position-horizontal" expected="50.0%"/> <test:assert property="background-position-vertical" expected="0mpt"/> Test background-position shorthand: "top center" </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="right bottom"> <test:assert property="background-position-horizontal" expected="100.0%"/> <test:assert property="background-position-vertical" expected="100.0%"/> Test background-position shorthand: "right bottom" </fo:block> <fo:block background-position="right bottom"> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="inherit"> <test:assert property="background-position-horizontal" expected="100.0%"/> <test:assert property="background-position-vertical" expected="100.0%"/> Test background-position shorthand: "inherit" </fo:block> </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="top right"> <test:assert property="background-position-horizontal" expected="100.0%"/> <test:assert property="background-position-vertical" expected="0mpt"/> Test background-position shorthand: "top right" </fo:block> - <fo:block background-image="../../resources/images/bgimg72dpi.jpg" + <fo:block background-image="test/resources/images/bgimg72dpi.jpg" background-position="center"> <test:assert property="background-position-horizontal" expected="50.0%"/> <test:assert property="background-position-vertical" expected="50.0%"/> |