paintPadding(c, line, inline);
paintPadding(c, line, ib);
    static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) {        if (ib.floated) {            paintFloat(c, ib);            debugInlines(c, ib, lx, ly);            return;        }        // Uu.p("paintInline: " + inline);        if (ib instanceof InlineBlockBox) {            paintReplaced(c, ib, line);            debugInlines(c, ib, lx, ly);            return;        }        InlineTextBox inline = (InlineTextBox) ib;        if (inline.pushstyles != null) {            for (Iterator i = inline.pushstyles.iterator(); i.hasNext();) {                StylePush sp = (StylePush) i.next();                c.pushStyle(c.getCss().getCascadedStyle(sp.getElement()));                /*if (inline.hover) {                    CascadedStyle hs = c.getCss().getPseudoElementStyle(sp.getElement(), "hover");                    if (hs != null) c.pushStyle(hs);                }*/                //Now we know that an inline element started here, handle borders and such?                Relative.translateRelative(c);                //TODO: push to current border-list (and paint left edge)                //HACK: this might do for now - tobe 2004-12-27                paintPadding(c, line, inline);            }        }        c.updateSelection(inline);                // calculate the Xx and y relative to the baseline of the line (ly) and the        // left edge of the line (lx)        int iy = ly + inline.y;        int ix = lx + inline.x;        // account for padding        // Uu.p("adjusted inline by: " + inline.totalLeftPadding());        // Uu.p("inline = " + inline);        // Uu.p("padding = " + inline.padding);        //ix += inline.totalLeftPadding(c.getCurrentStyle());        paintSelection(c, inline, lx, ly);        paintText(c, lx, ly, ix, iy, inline);        debugInlines(c, inline, lx, ly);        if (inline.popstyles != null) {            for (Iterator i = inline.popstyles.iterator(); i.hasNext();) {                StylePop sp = (StylePop) i.next();                //TODO: paint right edge and pop current border-list                Relative.untranslateRelative(c);                /*if (inline.hover) {                    CascadedStyle hs = c.getCss().getPseudoElementStyle(sp.getElement(), "hover");                    if (hs != null) c.popStyle();                } */                c.popStyle();            }        }    }