Closed
Description
We recently resolved that the max-content size of replaced elements with percentage size/max-size and an intrinsic aspect ratio is calculated from 300x150 and the aspect ratio. The upside is that we have a definition that isn't zero. The downside is that 300x150 is rarely a useful size, and isn't customizable.
So I was just thinking, what if we try using the min-width/min-height instead (where possible, i.e. not when calculating the min-width/min-height value itself)? If either of them is not auto, use that plus the aspect ratio to calculate the min-content size, otherwise fall back to 300x150.