paintListStyles(c, blocks);
    public void paint(RenderingContext c, int originX, int originY) {        if (getMaster().getStyle().isFixed()) {            positionFixedLayer(c);        }        if ((isRootLayer() && ! isPositionsFinalized()) ||                 getMaster().getStyle().isFixed()) {            updateAllAbsoluteLocations(originX, originY, true);        }        if (getMaster().isReplaced()) {            paintReplacedElement(c, getMaster());        } else {            List blocks = new ArrayList();            List lines = new ArrayList();                BoxCollector collector = new BoxCollector();            collector.collect(c, c.getGraphics().getClip(), this, blocks, lines);                // TODO root layer needs to be handled correctly (paint over entire canvas)            if (! isInline()) {                paintLayerBackgroundAndBorder(c);                if (c.debugDrawBoxes()) {                    ((BlockBox)getMaster()).paintDebugOutline(c);                }            }                        if (isRootLayer() || isStackingContext()) {                paintLayers(c, getSortedLayers(NEGATIVE));            }                paintBackgroundsAndBorders(c, blocks);            paintFloats(c);            paintInlineContent(c, lines);            paintListStyles(c, blocks);            paintReplacedElements(c, blocks);                if (isRootLayer() || isStackingContext()) {                paintLayers(c, collectLayers(AUTO));                // TODO z-index: 0 layers should be painted atomically                paintLayers(c, getSortedLayers(ZERO));                paintLayers(c, getSortedLayers(POSITIVE));            }        }    }