DescriptionFlexbox: Allow intrinsic aspect ratios to inform main-size calculation
According to the http://dev.w3.org/csswg/css-flexbox/#algo-main-item
point B states that:
If the flex item has
a) an intrinsic aspect ratio,
b) a flex basis of 'auto', and
c) a definite cross size
then the flex base size is calculated from its inner cross size
and the flex item’s intrinsic aspect ratio.
The current implementation does not handle properly this case. This patch
fixes this bug by allowing support for aspect ratio while calculation
of main-size calculation in RenderFlexibleBox::preferredMainAxisContentExtentForChild.
Bug=249112
Patch Set 1 : WIP Patch #
Total comments: 4
Patch Set 2 : WIP Patch 2 #
Total comments: 4
Patch Set 3 : WIP Patch 3: Addressing comments of WIP Patch 2 #
Total comments: 1
Patch Set 4 : #
Messages
Total messages: 15 (1 generated)
|