dy=collapsed_margin_difference)
clearance = get_clearance(
context, child, new_collapsed_margin)
if clearance is not None:
for previous_new_child in new_children:

# top and bottom margin of this box
if (box.height in ('auto', 0) and
get_clearance(context, box, collapsed_margin) is None and
all(v == 0 for v in [
box.min_height, box.border_top_width, box.padding_top,

dy=collapsed_margin_difference)
clearance = get_clearance(
context, child, new_collapsed_margin)
if clearance is not None:
for previous_new_child in new_children:

# top and bottom margin of this box
if (box.height in ('auto', 0) and
get_clearance(context, box, collapsed_margin) is None and
all(v == 0 for v in [
box.min_height, box.border_top_width, box.padding_top,