Added getBPPaddingAndBorder() to return the border and padding length in the BP direction. PR: 25802.