[Webkit-unassigned] [Bug 76405] Hit ASSERTION FAILED: table()->collapseBorders() on techcrunch.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 12:14:43 PST 2012


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


Robert Hogan <robert at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |robert at webkit.org
                   |kit.org                     |




--- Comment #2 from Robert Hogan <robert at webkit.org>  2012-01-17 12:14:43 PST ---
The ASSERT has exposed a situation where collapsed borders are being calculated for a cell that is not in a table with collapsed borders! The problem seems to be with:

void RenderTable::recalcCollapsedBorders()
{
    if (m_collapsedBordersValid)
        return;
    m_collapsedBordersValid = true;
    m_collapsedBorders.clear();
    RenderObject* stop = nextInPreOrderAfterChildren();
    for (RenderObject* o = firstChild(); o && o != stop; o = o->nextInPreOrder()) {
        if (o->isTableCell())
            toRenderTableCell(o)->collectBorderValues(m_collapsedBorders);
    }
    RenderTableCell::sortBorderValues(m_collapsedBorders);
}

It is collecting border values for cells that are not in the RenderTable - I suspect a nested table.

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