[Webkit-unassigned] [Bug 249987] Inapplicable top, bottom style shouldn't affect height calculation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 3 17:47:17 PDT 2023


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

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
We have this:

https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderBoxModelObject.cpp#268

 if (isOutOfFlowPositionedWithImplicitHeight(*cb))
        return nullptr;


and 'isOutOfFlowPositionedWithImplicitHeight' function is exactly as this patch:

static inline bool isOutOfFlowPositionedWithImplicitHeight(const RenderBoxModelObject& child)
{
    return child.isOutOfFlowPositioned() && !child.style().logicalTop().isAuto() && !child.style().logicalBottom().isAuto();
}

-- 
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/20230804/3e6b923b/attachment.htm>


More information about the webkit-unassigned mailing list