To demonstrate the overflow behaviour that should also "contain" floats
The parent block, outer container div has a yellow background color applied and desired behaviour is that is should increase it's height to contain the tallest float ~ this should happen when the overflow value does not compute to "visible" (demo#2)
references:
If 'margin-top', or 'margin-bottom' are 'auto', their used value is 0. If 'height' is 'auto', the height depends on the element's descendants.
For 'inline-block' elements, the margin box is used when calculating the height of the line box.
Which leads to: "10.6.7 'Auto' heights for block formatting context roots"
Return to IE DemosIn addition, if the element has any floating descendants whose bottom margin edge is below the bottom, then the height is increased to include those edges. Only floats that are children of the element itself or of descendants in the normal flow are taken into account, e.g., floats inside absolutely positioned descendants or other floats are not.