[Webkit-unassigned] [Bug 22764] bottom border misaligned due to image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 18 01:03:37 PDT 2011


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





--- Comment #6 from Eric Seidel <eric at webkit.org>  2011-05-18 01:03:37 PST ---
"Since a float is not in the flow, non-positioned block boxes created before and after the float box flow vertically as if the float did not exist. However, the current and subsequent line boxes created next to the float are shortened as necessary to make room for the margin box of the float."

Maybe be the relevant line of CSS 2.1 to explain that floats can overflow out of their containing blocks.

I think basically floats don't create line boxes, so they don't get included in block height calculations, thus blocks colapse to fit their lines, while floats may yet overflow those blocks.

This test case is invalid as far as I can tell.  IE's behavior is wrong.

-- 
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