BorderInfo bi1 = border1.getBorderInfo();
BorderInfo bi2 = border2.getBorderInfo();
if (discard) {
if (bi1.getWidth().isDiscard()) {
if (bi2.getWidth().isDiscard()) {
return new BorderSpecification(
CommonBorderPaddingBackground.getDefaultBorderInfo(), 0/*TODO*/);
} else {
return border2;
}
} else if (bi2.getWidth().isDiscard()) {