[Webkit-unassigned] [Bug 80394] CSS 2.1 failure: margin-collapse-clear-012 fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 7 01:13:42 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=80394


Robert Hogan (absent 23/02 to 13/03) <robert at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert at webkit.org




--- Comment #3 from Robert Hogan (absent 23/02 to 13/03) <robert at webkit.org>  2012-03-07 01:13:43 PST ---
When a self-collapsing block has margin-top and needs to clear a float, the clearance calculated is the height of the float minus the margin-top and this should get added to the height of the parent. If the element has a margin-bottom (and it's the last element in the block) then this needs to get added to the height of the parent. 

At the moment, the clearance calculated for a self-collapsing block is the top of the block minus its bottom margin and this is what gets added to the height of the parent in clearFloatsIfNeeded(). The bottom margin of the last block is not getting added to the height of the parent.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list