if (c.debugDrawBoxes()) {
if (c.debugDrawBoxes() || Configuration.isTrue("xr.renderer.debug.box-outlines", true)) {
    public void paint(Context c, Box box) {        //Uu.p("BoxRenderer.paint " + box);        Box block = (Box) box;        //set the current style        CascadedStyle hoverStyle = null;        if (block.content.getStyle() != null) {            c.pushStyle(block.content.getStyle());            if (block.hover) {                hoverStyle = c.css.getPseudoElementStyle(block.content.getElement(), "hover");                if (hoverStyle != null) c.pushStyle(hoverStyle);            }        }        if (box.restyle) {            restyle(c, box);            //box.restyle = false;        }        // copy the bounds to we don't mess it up        Rectangle oldBounds = new Rectangle(c.getExtents());        if (block.relative) {            paintRelative(c, block);        } else if (block.fixed) {            paintFixed(c, block);        } else {            paintNormal(c, block);        }        //Uu.p("here it's : " + c.getListCounter());        if (ContentUtil.isListItem(box.content.getStyle())) {            paintListItem(c, box);        }        // move the origin down to account for the contents plus the margin, borders, and padding        oldBounds.y = oldBounds.y + block.height;        c.setExtents(oldBounds);        //reset style        if (block.content.getStyle() != null) {            if (hoverStyle != null) c.popStyle();            c.popStyle();        }        if (c.debugDrawBoxes()) {            GraphicsUtil.drawBox(c.getGraphics(), block, Color.red);        }    }