diff options
author | Simon Steiner <ssteiner@apache.org> | 2022-01-06 14:18:11 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2022-01-06 14:18:11 +0000 |
commit | efc47f3d9090a19d668d3fcea634fe0cfa39b1ea (patch) | |
tree | 132f8c057409d6b648f07053924e13e267f3fd85 /fop | |
parent | ab86c039a30005236d7a6f7e3112193db7916bf5 (diff) | |
download | xmlgraphics-fop-efc47f3d9090a19d668d3fcea634fe0cfa39b1ea.tar.gz xmlgraphics-fop-efc47f3d9090a19d668d3fcea634fe0cfa39b1ea.zip |
FOP-3046: Don't use page position only on redo of layout
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1896753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rw-r--r-- | fop/test/layoutengine/standard-testcases/page-position_only_too-small.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fop/test/layoutengine/standard-testcases/page-position_only_too-small.xml b/fop/test/layoutengine/standard-testcases/page-position_only_too-small.xml index 589c3a21f..cded06e72 100644 --- a/fop/test/layoutengine/standard-testcases/page-position_only_too-small.xml +++ b/fop/test/layoutengine/standard-testcases/page-position_only_too-small.xml @@ -18,7 +18,7 @@ <!-- $Id$ --> <testcase> <info> - <p>When the page-master for page-position="only" cannot accommodate the content, two default + <p>When the page-master for page-position="only" cannot accommodate the content, one default pages must be used instead.</p> </info> <fo> @@ -51,8 +51,7 @@ </fo:root> </fo> <checks> - <eval expected="2" xpath="count(//pageSequence[1]/pageViewport)"/> + <eval expected="1" xpath="count(//pageSequence[1]/pageViewport)"/> <eval expected="default" xpath="//pageSequence[1]/pageViewport[1]/@simple-page-master-name"/> - <eval expected="default" xpath="//pageSequence[1]/pageViewport[2]/@simple-page-master-name"/> </checks> </testcase> |