backgrounds and border images don't work right with vertical RenderInlines. We have to break up into a vertical strip rather than a horizontal strip, and the border edges that we paint are the top/bottom and not the left/right.
Masks too.
Created attachment 72231 [details] Patch
Created attachment 72232 [details] Patch
Fixed in r70813.