[Webkit-unassigned] [Bug 14827] Floats can overlap the last line of the previous block

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 11 19:40:40 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=14827


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #3 from hyatt at apple.com  2008-01-11 19:40 PDT -------
There's nothing wrong with this result.  It's exactly what you'd expect.  The
floats occur after the word "text."  That means they can and will sit on the
same line if possible.  At certain sizes, there is enough space available, and
so the first left float is able to co-exist on the same line as "text."

The basic rule here is that floats should be positioned as high as possible,
without occurring on a line prior to where they are declared.  Firefox and IE
both bungle this rule and often put floats on the line *below* where they are
declared.

See section 9.5.1 of the CSS2.1 spec.

http://www.w3.org/TR/CSS21/visuren.html#float-position

In particular rule 6 effectively defines the highest point of the float and
rule 8 establishes that the float should be on the same line.


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



More information about the webkit-unassigned mailing list