See testcase table_break-before_break-after.xml. The after border is missing whereas the table is finished. It break-after is removed the rendering is correct.
Created attachment 21443 [details] Missing border-before/after when break specified on table-row Same problem when break-before is specified on the body's first row, or when break-after is specified on the body's last row.
Bug #44412 also applies to tables with the separate border model. But when the break is set on the table's first/last row, this is a different issue: a -infinite penalty is produced for that, which technically "belongs" to the table, so the space resolver believes the table is not finished whereas it is. Instead of producing a penalty, the break-before/after must be checked at the table level.
Should be fixed in rev. 630814, but bug #44412 doesn't allow to check for that.
resetting P2 open bugs to P3 pending further review