[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
Sat Apr 28 03:46:19 PDT 2012


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





--- Comment #42 from Robert Hogan <robert at webkit.org>  2012-04-28 03:46:18 PST ---
(In reply to comment #41)
> (In reply to comment #40)
> > Can we try this patch again? I'd love to see this fixed :)
> 
> Sure. Let me revise it. :)

The problem as I understand is that in:

<div class="container">
  <div class="first"></div>
  <div class="second"></div>
</div>

the spaces before the second div add some width to the line - the width of a single white space. Unless there's actual text we don't want this to happen do we?

So isn't the correct solution to back out that width when no text is encountered rather than account for it when trying to fit subsequent floats on the line? Or is there a reason we need to hold on to it?

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