Give line boxes an m_isVertical bit so they know if they are vertical or not without having to ask the containing block.
Created attachment 68570 [details] Patch
Fixed in r68186.