The borders/padding on the right are not rendered for an inline box in the middle of an inline flow if the text is the last text of the line it is on. This happens in both LTR and RTL contexts (but on the left for RTL).
Created attachment 7715 [details] test case Test case demonstrating the failure.
*** Bug 14770 has been marked as a duplicate of this bug. ***
*** Bug 18593 has been marked as a duplicate of this bug. ***
rdar://6220821
This bug was also fixed with http://trac.webkit.org/changeset/82419 .