lineBounds.width = containingBlockContentWidth;
int farthestOver = direction == LEFT ? lineBounds.x : lineBounds.x + lineBounds.width;
applyLineHeightHack(cssCtx, line, lineBounds);
BlockBox farthestOverBox = null;
for (int i = 0; i < floatsList.size(); i++) {
BoxOffset floater = (BoxOffset) floatsList.get(i);
Rectangle fr = floater.getBox().getMarginEdge(cssCtx, -floater.getX(), -floater.getY());
if (lineBounds.intersects(fr)) {
if (direction == LEFT && fr.x + fr.width > farthestOver) {