[Webkit-unassigned] [Bug 95772] CSS 2.1 failure: floats-149 fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 4 12:58:43 PDT 2012


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


Dave Hyatt <hyatt at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hyatt at apple.com




--- Comment #1 from Dave Hyatt <hyatt at apple.com>  2012-09-04 12:58:56 PST ---
Just a guess but:


static bool alwaysRequiresLineBox(RenderInline* flow)
{
    // FIXME: Right now, we only allow line boxes for inlines that are truly empty.
    // We need to fix this, though, because at the very least, inlines containing only
    // ignorable whitespace should should also have line boxes.
    return !flow->firstChild() && flow->hasInlineDirectionBordersPaddingOrMargin();
}


I think !flow->firstChild() (the subject of the FIXME) is probably why we're failing this test.

You should replace that with a function that recurs and looks for whether or not you have child content that will force the creation of a line box.

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