Re: [csswg-drafts] [css-flexbox] Change content-size suggestion to min-intrinsic instead of min-content? (#6794)

> For replaced content I don't think any change here is web-compatible. Lots of sites do things like "height: 100%" or "height: 300px" which we have interop on. This is also how other layout modes work, I'd object to this change for replaced elements.

OK, so in that case, for replaced elements specifically, should we change Flexbox to align with grid (transferred size overrides intrinsic size whenever it exists, rather than taking the minimum as in the Flexbox spec)?

Fwiw, @tabatkins and I would prefer to match the spec and not use the transferred size for non-replaced elements to minimize cases with overflow. (We'd prefer it for both, but can accept compat issues. ^_^)

So to summarize, the changes we are proposing to the automatic minimum size are:

- Clarify that the content size suggestion uses the min-intrinsic size.
- Exclude non-replaced elements from transferring a maximum size from the opposite axis.
- Use the transferred size suggestion in preference to the content size suggestion when it exists, instead of taking the minimum of the two.


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


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

Received on Thursday, 18 August 2022 22:29:49 UTC