if (box.x < 0 && box.width <= c.getExtents().width) {
if (box.clear_right || (box.x < 0 && box.width <= c.getExtents().width)) {
    private static void positionBoxRight(Context c, Box box) {        BlockFormattingContext bfc = c.getBlockFormattingContext();        Box floater = bfc.getRightFloatX(box);        if (floater == null) {            // Uu.p("floaters are null");            // Uu.p("extents = " + c.getExtents().width);            box.x = c.getExtents().width - box.width;            return;        }        box.x = floater.x - box.width;        if (box.x < 0 &&                box.width <= c.getExtents().width) {            // Uu.p("not enough room!!!");            // move the box to be below the last float and            // try it again            box.y = floater.y + floater.height;            positionBoxRight(c, box);        }        // Uu.p("final box = " + box);    }