If hyphenation is switched on (eg. on a block with attribute hyphenate="true") then the right border of fo:inline is missig.
Created attachment 17840 [details] Sample FO and PDF output First fo:inline has all of its margins (as expected). In the second fo:block the fo:inline is missing its right border because hyphenation is turned on.
Had a quick look at this and the problem is caused by the hyphenation logic interfering with the Knuth element position index which is used to determine if an area is the last area generated by the InlineLM. In the hyphenation case its one off causing the isLast() method to return false and therefore no right border is generated because the LM thinks it has more areas to generate. Haven't found a fix though yet.
*** This bug has been marked as a duplicate of bug 49870 ***
batch transition to closed for remaining resolved bugs