aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine/testcases/page-number_initial-page-number_2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/layoutengine/testcases/page-number_initial-page-number_2.xml')
-rw-r--r--test/layoutengine/testcases/page-number_initial-page-number_2.xml53
1 files changed, 0 insertions, 53 deletions
diff --git a/test/layoutengine/testcases/page-number_initial-page-number_2.xml b/test/layoutengine/testcases/page-number_initial-page-number_2.xml
deleted file mode 100644
index 0d4a7e21f..000000000
--- a/test/layoutengine/testcases/page-number_initial-page-number_2.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright 2005 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<!-- $Id: page-number3.xml 198733 2005-06-09 14:20:45Z jeremias $ -->
-<testcase>
- <info>
- <p>
- This test checks fo:page-number.
- </p>
- </info>
- <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="1in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="master1" white-space-collapse="true" initial-page-number="9">
- <fo:flow flow-name="xsl-region-body">
- <fo:block><fo:inline>9</fo:inline> <fo:inline>10</fo:inline></fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- <fo:block>page: -&gt;<fo:page-number color="red"/>&lt;-</fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </fo>
- <checks>
- <eval expected="9" xpath="//pageViewport[@nr=9]/page/regionViewport/regionBody/mainReference/span/flow/block[2]/lineArea[1]/text[2]"/>
- <eval expected="6672" xpath="//pageViewport[@nr=9]/page/regionViewport/regionBody/mainReference/span/flow/block[2]/lineArea[1]/text[2]/@ipd"/>
-
- <eval expected="10" xpath="//pageViewport[@nr=10]/page/regionViewport/regionBody/mainReference/span/flow/block[1]/lineArea[1]/text[2]"/>
- <eval expected="13344" xpath="//pageViewport[@nr=10]/page/regionViewport/regionBody/mainReference/span/flow/block[1]/lineArea[1]/text[2]/@ipd"/>
-
- </checks>
-</testcase>