git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198440
13f79535-47bb-0310-9956-
ffa450edef68
public int getBorderWidth(int side, boolean bDiscard) {
if ((borderInfo[side] == null)
|| (borderInfo[side].mStyle == Constants.EN_NONE)
+ || (borderInfo[side].mStyle == Constants.EN_HIDDEN)
|| (bDiscard && borderInfo[side].mWidth.isDiscard())) {
return 0;
} else {
<!-- border-style="hidden" -->
<eval expected="hidden" xpath="//flow/block[1]/block[20]/block[1]/lineArea"/>
<eval expected="72000" xpath="//flow/block[1]/block[20]/@ipda"/>
- <eval expected="62000" xpath="//flow/block[1]/block[20]/@ipd"/>
- <eval expected="5000 5000 5000 5000" xpath="//flow/block[1]/block[20]/@bap"/>
+ <eval expected="72000" xpath="//flow/block[1]/block[20]/@ipd"/>
+ <eval expected="0 0 0 0" xpath="//flow/block[1]/block[20]/@bap"/>
</checks>
</testcase>