diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-03-01 12:25:29 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-03-01 12:25:29 +0000 |
commit | 05f1c240b65132869d6bf5265c45e902d9d6ef83 (patch) | |
tree | 450e683af2bfcad5bce685d4b1b576eab402c5aa /test/layoutengine | |
parent | 8a4cbce7b55ca009bc00bb70bac495bc326ed5a7 (diff) | |
download | xmlgraphics-fop-05f1c240b65132869d6bf5265c45e902d9d6ef83.tar.gz xmlgraphics-fop-05f1c240b65132869d6bf5265c45e902d9d6ef83.zip |
Fixed BPD trait and border painting for leaders with leader-pattern="space" (and similar cases).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749012 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine')
-rw-r--r-- | test/layoutengine/standard-testcases/leader_border_padding.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/layoutengine/standard-testcases/leader_border_padding.xml b/test/layoutengine/standard-testcases/leader_border_padding.xml index e2bd0c231..18f300244 100644 --- a/test/layoutengine/standard-testcases/leader_border_padding.xml +++ b/test/layoutengine/standard-testcases/leader_border_padding.xml @@ -130,7 +130,9 @@ <eval expected="360000" xpath="//flow/block[4]/lineArea/@ipd"/> <eval expected="34000" xpath="//flow/block[4]/lineArea/space/@ipd"/> <eval expected="36000" xpath="//flow/block[4]/lineArea/space/@ipda"/> - <eval expected="8615" xpath="//flow/block[4]/lineArea/space/@offset"/> + <eval expected="1000" xpath="//flow/block[4]/lineArea/space/@bpd"/> + <eval expected="3000" xpath="//flow/block[4]/lineArea/space/@bpda"/> + <eval expected="7616" xpath="//flow/block[4]/lineArea/space/@offset"/> <eval expected="(solid,#ff0000,1000)" xpath="//flow/block[4]/lineArea/space/@border-after"/> <eval expected="(solid,#ff0000,1000)" xpath="//flow/block[4]/lineArea/space/@border-before"/> <eval expected="(solid,#ff0000,1000)" xpath="//flow/block[4]/lineArea/space/@border-end"/> @@ -192,7 +194,9 @@ <eval expected="360000" xpath="//flow/block[9]/lineArea/@ipd"/> <eval expected="16000" xpath="//flow/block[9]/lineArea/space/@ipd"/> <eval expected="36000" xpath="//flow/block[9]/lineArea/space/@ipda"/> - <eval expected="8615" xpath="//flow/block[9]/lineArea/space/@offset"/> + <eval expected="1000" xpath="//flow/block[9]/lineArea/space/@bpd"/> + <eval expected="21000" xpath="//flow/block[9]/lineArea/space/@bpda"/> + <eval expected="7616" xpath="//flow/block[9]/lineArea/space/@offset"/> <eval expected="(solid,#ff0000,5000)" xpath="//flow/block[9]/lineArea/space/@border-after"/> <eval expected="(solid,#ff0000,5000)" xpath="//flow/block[9]/lineArea/space/@border-before"/> <eval expected="(solid,#ff0000,5000)" xpath="//flow/block[9]/lineArea/space/@border-end"/> @@ -262,7 +266,9 @@ <eval expected="360000" xpath="//flow/block[14]/lineArea/@ipd"/> <eval expected="24000" xpath="//flow/block[14]/lineArea/space/@ipd"/> <eval expected="36000" xpath="//flow/block[14]/lineArea/space/@ipda"/> - <eval expected="8615" xpath="//flow/block[14]/lineArea/space/@offset"/> + <eval expected="1000" xpath="//flow/block[14]/lineArea/space/@bpd"/> + <eval expected="9000" xpath="//flow/block[14]/lineArea/space/@bpda"/> + <eval expected="7616" xpath="//flow/block[14]/lineArea/space/@offset"/> <eval expected="(solid,#ff0000,3000)" xpath="//flow/block[14]/lineArea/space/@border-after"/> <eval expected="(solid,#ff0000,1000)" xpath="//flow/block[14]/lineArea/space/@border-before"/> <eval expected="(solid,#ff0000,2000)" xpath="//flow/block[14]/lineArea/space/@border-end"/> |