public static void paint(Context c, Box box) {
public static void paint(Context c, Box box, boolean stylePushed) {
    public static void paint(Context c, Box box) {        // Uu.p("BoxRenderer.paint " + box);        Box block = (Box) box;        //set the current style        //CascadedStyle hoverStyle = null;        CascadedStyle style = null;        if (block.element != null) style = c.getCss().getCascadedStyle(block.element);        if (style != null) {            c.pushStyle(style);            /*if (block.hover) {                hoverStyle = c.getCss().getPseudoElementStyle(block.content.getElement(), "hover");                if (hoverStyle != null) c.pushStyle(hoverStyle);            }*/        }        // copy the bounds to we don't mess it up        Rectangle oldBounds = new Rectangle(c.getExtents());        if (Relative.isRelative(c)) {            paintRelative(c, block);        } else if (block.fixed) {            paintFixed(c, block);        } else if (block.absolute) {            paintAbsoluteBox(c, block);        } else {            paintNormal(c, block);        }        //Uu.p("here it's : " + c.getListCounter());        if (ContentUtil.isListItem(style)) {            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 (style != null) {            //if (hoverStyle != null) c.popStyle();            c.popStyle();        }        if (c.debugDrawBoxes() ||                Configuration.isTrue("xr.renderer.debug.box-outlines", true)) {            GraphicsUtil.drawBox(c.getGraphics(), block, Color.red);        }    }