You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flex items can be generated by replaced elements, but I don’t find anything about this case in https://drafts.csswg.org/css-flexbox/ (except in a note about blockification of the display property).
https://drafts.csswg.org/css-flexbox/#cross-sizing says to "perform layout" without further details, but as far as I know there isn’t a definition of layout for replaced element that is independent of their context / layout mode. CSS 2 has separate sections for inline replaced elements, for block elements in normal flow, etc.
Activity
fantasai commentedon Jun 11, 2020
Hi @SimonSapin, we've clarified that performing layout invokes the same rules as for block-level layout. Let us know if this addresses your issue.
Note: The section you're referring to defines the sizes of a grid container, not a grid item, so isn't analogous here.
SimonSapin commentedon Jun 12, 2020
I copied the wrong link for Grid, I meant https://drafts.csswg.org/css-grid/#grid-item-sizing
Either way, yes ab0e4fe looks good. Thanks!