Bug 228914 fixes tons of test cases related to orthogonal writing modes. Every other platform but iOS produce the right results. In the case of iOS it renders the green rectangles of the expected outcome with an extra 1px "border". It might be related to the background bleeding optimization.
<rdar://problem/82515551>