[Webkit-unassigned] [Bug 209282] CSS Grid columns are wrong on successive layouts when align-items: baseline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 20 06:23:26 PDT 2020


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

--- Comment #3 from Javier Fernandez <jfernandez at igalia.com> ---
It seems the root cause of the issue is a call to WebCore::RenderGrid::computeIntrinsicLogicalWidths made by the Flexible Box when computing the crossAxisIntrinsicExtentForChild. 

In the Grid Layout intrinsic size computation logic, we need to perform a layout of a grid item that participates in baseline alignment before the grid track sizes are actually computed. This causes the item to compute incorrectly its intrinsic size. 

In Blink, we do this only for grid items that have a relative size, which will indeed depend on the grid area, eventual computed. We can follow a similar approach, and I'm already working on a patch; still trying to investigate a few layout tests failures, though.

-- 
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/20200320/a421e526/attachment.htm>


More information about the webkit-unassigned mailing list