c.pushStyle(CascadedStyle.emptyCascadedStyle);
    static void paintInlineContext(Context c, Box box, boolean restyle) {        //dummy style to make sure that text nodes don't get extra padding and such        {            LinkedList decorations = c.getDecorations();            c.pushStyle(CascadedStyle.emptyCascadedStyle);            //BlockBox block = (BlockBox)box;            // translate into local coords            // account for the origin of the containing box            c.translate(box.x, box.y);            // for each line box            BlockBox block = null;            if (box instanceof BlockBox) {//Why isn't it always a BlockBox? Because of e.g. Floats!                block = (BlockBox) box;            }            CascadedStyle firstLineStyle = null;            for (int i = 0; i < box.getChildCount(); i++) {                if (i == 0 && block != null && block.firstLineStyle != null) {                    firstLineStyle = block.firstLineStyle;                }                // get the line box                paintLine(c, (LineBox) box.getChild(i), restyle, firstLineStyle, decorations);                if (i == 0 && block != null && block.firstLineStyle != null) {                    firstLineStyle = null;                }            }            // translate back to parent coords            c.translate(-box.x, -box.y);            //pop dummy style            c.popStyle();        }    }