aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine/standard-testcases/block_break-before_bug44412.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-08-12 12:36:18 +0000
committerJeremias Maerki <jeremias@apache.org>2008-08-12 12:36:18 +0000
commit3a39c6dca832b0c3626af4a7d39eb80dcb07aabf (patch)
tree49a4c3bd87d1093230e58ed05606e0d131f3eb27 /test/layoutengine/standard-testcases/block_break-before_bug44412.xml
parent95b2347224c4f3b7c3fcff3b2509a356b2b9869b (diff)
parentff243bf1dd6062bbe624391a9ef79fc26018a23f (diff)
downloadxmlgraphics-fop-3a39c6dca832b0c3626af4a7d39eb80dcb07aabf.tar.gz
xmlgraphics-fop-3a39c6dca832b0c3626af4a7d39eb80dcb07aabf.zip
Merge from Trunk revisions 680381-685126.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685132 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine/standard-testcases/block_break-before_bug44412.xml')
-rw-r--r--test/layoutengine/standard-testcases/block_break-before_bug44412.xml17
1 files changed, 4 insertions, 13 deletions
diff --git a/test/layoutengine/standard-testcases/block_break-before_bug44412.xml b/test/layoutengine/standard-testcases/block_break-before_bug44412.xml
index 9ef4150b5..cc5bcd3c8 100644
--- a/test/layoutengine/standard-testcases/block_break-before_bug44412.xml
+++ b/test/layoutengine/standard-testcases/block_break-before_bug44412.xml
@@ -20,8 +20,7 @@
<info>
<p>
This test checks Bugzilla #44412 where a break-before on the first child of an otherwise
- empty block is set. It is expected that the parent block creates two areas, the first with
- only border-before on the first page and zero bpd.
+ empty block is set.
</p>
</info>
<fo>
@@ -44,20 +43,12 @@
</fo:root>
</fo>
<checks>
- <eval expected="2" xpath="count(//block[@prod-id = 'b1'])"/>
- <eval expected="4000 4000 4000 0" xpath="(//block[@prod-id = 'b1'])[1]/@bap"/>
- <eval expected="4000 4000 0 4000" xpath="(//block[@prod-id = 'b1'])[2]/@bap"/>
- <eval expected="0" xpath="(//block[@prod-id = 'b1'])[1]/@bpd"/>
- <eval expected="43200" xpath="(//block[@prod-id = 'b1'])[2]/@bpd"/>
+ <eval expected="1" xpath="count(//block[@prod-id = 'b1'])"/>
+ <eval expected="4000 4000 4000 4000" xpath="(//block[@prod-id = 'b1'])[1]/@bap"/>
+ <eval expected="43200" xpath="(//block[@prod-id = 'b1'])[1]/@bpd"/>
<element-list category="breaker" index="0">
<box w="14400"/>
- <penalty w="0" p="0"/>
- <box w="0" aux="true"/>
- <penalty w="0" p="INF"/>
- <glue w="4000"/> <!-- border-before -->
- <box w="0"/> <!-- first block area of the "b1" block with zero bpd -->
-
<skip>3</skip>
</element-list>
</checks>