[Webkit-unassigned] [Bug 110654] Empty <button>s should collapse; empty <input type="button"> should not collapse

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 22 16:43:47 PST 2013


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





--- Comment #6 from Christian Biesinger <cbiesinger at chromium.org>  2013-02-22 16:46:11 PST ---
Hmm that one already returns true for buttons:

./rendering/RenderButton.h:    virtual bool hasLineIfEmpty() const { return true; }


However, I notice that the deprecated flexbox has code like this:
        if (!iterator.first() && hasLineIfEmpty())
            setHeight(height() + lineHeight(true, style()->isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes));

Does new flexbox need something like this?

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