[Webkit-unassigned] [Bug 64059] REGRESSION (r88913): Preview in Safari’s snippet editor has a fixed height instead of filling the entire pane

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 7 09:19:00 PDT 2011


--- Comment #4 from mitz at webkit.org  2011-07-07 09:19:00 PST ---
I believe you’re looking for logic along the lines of what RenderBox::computePercentageLogicalHeight() does, namely:

    // A positioned element that specified both top/bottom or that specifies height should be treated as though it has a height
    // explicitly specified that can be used for any percentage computations.
    // FIXME: We can't just check top/bottom here.
    // https://bugs.webkit.org/show_bug.cgi?id=46500
    bool isPositionedWithSpecifiedHeight = cb->isPositioned() && (!cb->style()->logicalHeight().isAuto() || (!cb->style()->top().isAuto() && !cb->style()->bottom().isAuto()));

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