W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

[csswg-drafts] [css-flexbox] Replaced flex items (#5188)

From: Simon Sapin via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Jun 2020 15:17:13 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-635527644-1591715832-sysbot+gh@w3.org>
SimonSapin has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-flexbox] Replaced flex items ==
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.

Should there be a normative sentence that https://drafts.csswg.org/css2/visudet.html#inline-replaced-width and https://drafts.csswg.org/css2/visudet.html#inline-replaced-height apply?

For comparison, https://drafts.csswg.org/css-grid/#intrinsic-sizes is more specific.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5188 using your GitHub account
Received on Tuesday, 9 June 2020 15:17:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC