[Webkit-unassigned] [Bug 74636] td element ignores zero width/height input element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 19 13:33:18 PST 2011


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





--- Comment #1 from Florin Malita <fmalita at google.com>  2011-12-19 13:33:18 PST ---
The strict inequality in RenderTextControl::computePreferredLogicalWidths ignores width == 0 attributes and falls back on estimating a default preferred width:

    if (style()->width().isFixed() && style()->width().value() > 0)
        m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = computeContentBoxLogicalWidth(style()->width().value());
    else {
        ...

The following patch relaxes the test.

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