[css-flexbox-1] flex-basis: max-content + aspect ratio should use aspect ratio same as flex-basis: content #4226
Labels
Closed Rejected as Invalid
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-flexbox-1
Current Work
Right now the flex base size rules have a special branch for an item with an intrinsic aspect ratio, a flex-basis of
content
, and a definite cross-size, to ensure that the item maintains its aspect ratio. These rules should also be invoked for other content-based sizes for the same reason.The rule is a bit different from falling down into the generic layout case (step 3.E) because 3.E ends up invoking float sizing for such items, and the float sizing rules directly inspect the value of 'width'/'height', rather than using the more generic notion of "a definite width/height", and so they don't see that the cross size of the item has been fixed by Flexbox's special rules on when a size is definite.
The text was updated successfully, but these errors were encountered: