Re: [csswg-drafts] [css-sizing-4] min/max size transfers across aspect-ratio (#6071)

> So after discussing with fantasai, the css-sizing-4 transferred min/max size text should not apply in flexbox/grid. Instead, only the sizing inside those specs should apply. For flex:
> 
> * Minimum sizes already applied per spec as part of content size suggestion in min-size: auto; should not apply for an explicit min size for compat with replaced elements
> * Maximum size only taken into account for flex base size (spec text does not mention this explicitly if cross size is indefinite but is part of max-content computation - #6109). If flexing, will distort image, but you asked for it (flex-grow defaults to 0)

Can somebody check if this make existing aspect-ratio + flex test expectations invalid? For example:
https://wpt.fyi/results/css/css-sizing/aspect-ratio/flex-aspect-ratio-025.html
https://wpt.fyi/results/css/css-sizing/aspect-ratio/flex-aspect-ratio-026.html

-- 
GitHub Notification of comment by rwlbuis
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6071#issuecomment-842185092 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 17 May 2021 09:48:27 UTC