if (lastChildNode == null)
{
return;
}
final BoxDefinition boxDefinition = box.getBoxDefinition();
final StaticBoxLayoutProperties blp = box.getStaticBoxLayoutProperties();
final long insetBottom = blp.getBorderBottom() + boxDefinition.getPaddingBottom();
final long insetTop = blp.getBorderTop() + boxDefinition.getPaddingTop();
final long childY2 = lastChildNode.getCachedY() + lastChildNode.getCachedHeight() +
lastChildNode.getEffectiveMarginBottom();
final long childY1 = box.getFirstChild().getCachedY();
final long usedHeight = (childY2 - childY1);