public static FloatLayoutResult layoutFloated(
final LayoutContext c, LineBox currentLine, BlockBox block,
int avail, List pendingFloats) {
FloatLayoutResult result = new FloatLayoutResult();
MarkerData markerData = c.getCurrentMarkerData();
c.setCurrentMarkerData(null);
block.setContainingBlock(currentLine.getParent());
block.setContainingLayer(currentLine.getContainingLayer());
block.setStaticEquivalent(currentLine);