Description[css-flexbox] Apply min-height: auto to nested flexboxes again
I am now convinced that the original bug that made me add this
was really https://codereview.chromium.org/1646413002 and we do
not need this check.
In particular, the main concern is that the child size we would
use here is one that was calculated based on a previous stretched
height. However, childHasIntrinsicMainAxisSize returns true
for a min-height: auto in an orthogonal flow (=the case where
that would be an issue), and in that case we make sure to force
a layout in computeNextFlexLine. Therefore, any size we use here
will be up-to-date and this should be safe.
BUG=596743
R=eae@chromium.org,dgrogan@chromium.org
TEST=css3/flexbox/nested-flexbox-min-size-auto.html
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|