This is a paragraph that contains an inline replaced element—in this case, an image—that has been styled with a border.
This
does
affect the line heights, as explained in the text.