[css-grid] Clear size override in MinLogicalSizeForChild if needed
Grid items can get an override for their containing block size, which for example can affect percentage resolution. However, sometimes we need to clear such overrides, which can be checked using ShouldClearOverrideContainingBlockContentSizeForChild. That's already done in LogicalHeightForChild, used by MinContentForChild and MaxContentForChild. But when the min track sizing function is 'auto', the code may use MinLogicalSizeForChild instead of LogicalHeightForChild. And MinLogicalSizeForChild didn't check if the override had to be cleared. This patch makes it perform the check. Bug: 1103592 Change-Id: Ie6012b5099c4988217228352dc552f7437f738d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299354Reviewed-by:Javier Fernandez <jfernandez@igalia.com> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#789122}
Showing
Please register or sign in to comment