DescriptionChrome incorrectly honors the 'height' if flex-basis is a percent value
Presently when flex-basis is set as a percentage value and
the container length is not specified, the height of the
flex-item is taken as auto.
Ideally as per spec if the flex-basis is set to 0%, the
height should be set to the minimum content height.
As per present design when the flex base size for the child
is calculated, we see if the main axis length is definite.
This length is not definte when flex-basis is auto and when
flex-basis is percentage along with the height of the containing
block being not specified.
The patch modifies the chid size to the content size when
the flex-basis is set as percent and main-axis length is
indefinte.
BUG=531656
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|