[layout] Consider the aspect-ratio for flex's auto-min size.
Previously we only used the "min-intrinsic" size, this left web
developers confused as to why the aspect-ratio was dropped.
This patch changes the content-size suggestion to:
- First look at the content-size (which will include aspect-ratio
if applicable). - Then if the have an aspect ratio, also consider the min-intrinsic
size (which doesn't include the aspect-ratio directly, but does
consider the transferred sizes).
Fixed: 342186350
Change-Id: Ifadbc037dd07d3d328bdf3374e97bf925e9b7cec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5786821
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Reviewed-by: David Grogan dgrogan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1342434}