Renders the same document with and without the border through LibreOffice and compares every word box — pins the fo:margin carve-out at render level, where the round trip is blind (both sides symmetric).