[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
Sun Oct 9 11:42:48 PDT 2011


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





--- Comment #36 from Ryosuke Niwa <rniwa at webkit.org>  2011-10-09 11:42:48 PST ---
(In reply to comment #33)
> Actually, "additional" means "extra".

It doesn't explain anything still. additional and extra are synonymous.

> As you know, if there are 2 more spaces between elements, there are ignored except one. The width of float element which has white space at next includes a width of this "one" white space. So the width of float is bigger than actual one.
> (This is why fitsOnLine failed.)

I don't follow.

> m_additionalWidth saves the width of an white space, and is used to subtract later when float is checked whether it fits on line.

Then it should be named as m_whitespaceWidth. There's no reason we should be using vague adjectives like additional and extra.

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