[Webkit-unassigned] [Bug 222100] [css-grid] Fix min/max widths of grid affected by ancestor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 4 05:58:05 PST 2021


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

--- Comment #15 from Javier Fernandez <jfernandez at igalia.com> ---
Comment on attachment 422134
  --> https://bugs.webkit.org/attachment.cgi?id=422134
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=422134&action=review

> Source/WebCore/ChangeLog:8
> +        It's a reland of r273435, which got reverted because it broken 

nit: s/broken/broke

> Source/WebCore/rendering/RenderBox.cpp:2499
> +    if (needsPreferredWidthsRecalculation() && shouldRecalculateMinMaxWidthsAffectedByAncestor(this) && parent()->preferredLogicalWidthsDirty()) {

I think we should have a check here for parent(); I believe it's not guaranteed that it's not null.

-- 
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/20210304/ce8b2144/attachment.htm>


More information about the webkit-unassigned mailing list