DescriptionRemove out-of-date FIXME on collapsing margins
CSS2.1 is now clear about what to do if the collapsed margins are
greater than the offset required to clear a float.
"Computing the clearance of an element on which 'clear' is set is done
by first determining the hypothetical position of the element's top
border edge. This position is where the actual top border edge would
have been if the element's 'clear' property had been 'none'. If this
hypothetical position of the element's top border edge is not past
the relevant floats, then clearance [..] is set to the greater of:
The amount necessary to place the border edge of the block even with
the bottom outer edge of the lowest float that is to be cleared. [or]
The amount necessary to place the top border edge of the block at
its hypothetical position."
http://www.w3.org/TR/CSS2/visuren.html#clearance
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169798
Patch Set 1 #
Total comments: 1
Patch Set 2 : WIth test #
Messages
Total messages: 10 (0 generated)
|