[Webkit-unassigned] [Bug 15374] RenderBox::availableHeightUsing() contains left/right to top/bottom typo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 12 19:26:53 PST 2023


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

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CONFIGURATION CHANGED

--- Comment #10 from Karl Dubost <karlcow at apple.com> ---
While all the browsers behave differently with regards to this test.
The piece of code has been changed since the patch.

    // We need to stop here, since we don't want to increase the height of the table
    // artificially.  We're going to rely on this cell getting expanded to some new
    // height, and then when we lay out again we'll use the calculation below.
    if (isTableCell() && (h.isAuto() || h.isPercentOrCalculated())) {
        if (hasOverridingLogicalHeight())
            return overridingLogicalHeight() - computedCSSPaddingBefore() - computedCSSPaddingAfter() - borderBefore() - borderAfter();
        return logicalHeight() - borderAndPaddingLogicalHeight();
    }

It doesn't refer anymore to Left and Right, but to Before and After which is I think correct.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230213/4bd5646d/attachment.htm>


More information about the webkit-unassigned mailing list