private static void positionVertically(LayoutContext c, Box container, LineBox current) {
private static void positionVertically( LayoutContext c, Box container, LineBox current, MarkerData markerData) {
    private static void positionVertically(LayoutContext c, Box container, LineBox current) {        if (current.getChildCount() == 0) {            current.height = 0;        } else {            LineMetrics strutLM = container.getStyle().getLineMetrics(c);            VerticalAlignContext vaContext = new VerticalAlignContext();            InlineBoxMeasurements measurements = getInitialMeasurements(c, container, strutLM);            vaContext.pushMeasurements(measurements);                        TextDecoration lBDecoration = calculateTextDecoration(                    container, measurements.getBaseline(), strutLM);            if (lBDecoration != null) {                current.setTextDecoration(lBDecoration);            }                        for (int i = 0; i < current.getChildCount(); i++) {                Box child = current.getChild(i);                positionInlineContentVertically(c, vaContext, child);            }                        vaContext.alignChildren();            current.setHeight(vaContext.getLineBoxHeight());                        int paintingTop = vaContext.getPaintingTop();            int paintingBottom = vaContext.getPaintingBottom();            if (vaContext.getInlineTop() < 0) {                moveLineContents(current, -vaContext.getInlineTop());                if (lBDecoration != null) {                    lBDecoration.setOffset(lBDecoration.getOffset() - vaContext.getInlineTop());                }                paintingTop -= vaContext.getInlineTop();                paintingBottom -= vaContext.getInlineTop();            }                        if (c.getCurrentMarkerData() != null) {                StrutMetrics strutMetrics = c.getCurrentMarkerData().getStructMetrics();                strutMetrics.setBaseline(measurements.getBaseline() - vaContext.getInlineTop());                c.getCurrentMarkerData().setReferenceLine(current);                c.setCurrentMarkerData(null);            }                        current.setPaintingTop(paintingTop);            current.setPaintingHeight(paintingBottom - paintingTop);        }    }