Chromium Code Reviews
Description[css-grid] Fix definite/indefinite size detection on block axis
LayoutBox::hasDefiniteLogicalHeight() was wrong as
it was not taking into account several cases
where the height is definite/indefinite.
E.g. it was not checking the special situations for flex items,
that despite of having height "auto" can definite sometimes.
As the method was buggy, this patch is directly removing it
and using LayoutBox::percentageLogicalHeightIsResolvable() instead.
Add new test to check that the flexbox case works as expected.
BUG=617876
TEST=fast/css-grid-layout/flex-item-grid-container-percentage-rows.html
Committed: https://crrev.com/f8393437ca2c05d3334011444260adac7e82530c
Cr-Commit-Position: refs/heads/master@{#398680}
Patch Set 1 #
Total comments: 2
Patch Set 2 : New version getting rid of hasDefiniteLogicalHeight() #
Total comments: 1
Patch Set 3 : Use firstInFlowChildBox() #
Total comments: 4
Patch Set 4 : Patch for landing #
Dependent Patchsets: Messages
Total messages: 25 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||