[Webkit-unassigned] [Bug 45274] Breaking Float: floated block level element following inline element in floated container breaks to next line

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 13 14:20:35 PDT 2011


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





--- Comment #10 from Stijn de Witt <stijndewitt at hotmail.com>  2011-04-13 14:20:35 PST ---
I looked through the W3C specs (mostly CSS2's section of Float: http://www.w3.org/TR/CSS2/visuren.html#floats ) but that basically states that floated boxes:

* Stay on the same line
* Break to the next line if there is not enough space left for them to fit

"A float is a box that is shifted to the left or right on the current line."

"If there is not enough horizontal room for the float, it is shifted downward until either it fits or there are no more floats present."

The wording there is pretty complicated, but I don't see anything explaining WebKit's behaviour, so given that, plus the fact that all other standards-compliant browsers (when running in standards mode) render them on one line I think it's save to say that WebKit is breaking the standard here.

Also given that this issue has now been confirmed by two people already and reproduction scenarios are available it may be time to move this bug to status 'NEW'?

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