@@ -963,14 +963,27 @@ Automatic Minimum Size of Flex Items</h3>
963963 for <a>scroll containers</a> the <a>automatic minimum size</a> is zero, as usual.
964964
965965 The <dfn>content-based minimum size</dfn> of a [=flex item=]
966- is the smaller of its [=specified size suggestion=] and its [=content size suggestion=]
967- if its [=specified size suggestion=] exists;
968- otherwise, the smaller of its [=transferred size suggestion=] and its [=content size suggestion=]
969- if the element is [=replaced element|replaced=]
970- <!-- https://github.com/w3c/csswg-drafts/issues/6069 -->
971- and its [=transferred size suggestion=] exists;
972- otherwise its [=content size suggestion=] .
973- In all cases, the size is clamped by the [=maximum size|maximum=] [=main size=] if it's <a>definite</a> .
966+ differs depending on whether the [=flex item=] is [=replaced element|replaced=] or not:
967+
968+ : For [=replaced elements=]
969+ ::
970+ Use the smaller of the [=content size suggestion=]
971+ and the [=transferred size suggestion=]
972+ (if one exists),
973+ capped by the [=specified size suggestion=]
974+ (if one exists).
975+
976+ : For [=non-replaced elements=]
977+ ::
978+ Use the larger of the [=content size suggestion=]
979+ and the [=transferred size suggestion=]
980+ (if one exists),
981+ capped by the [=specified size suggestion=]
982+ (if one exists).
983+
984+ In either case,
985+ the size is clamped by the [=maximum size|maximum=] [=main size=]
986+ if it's <a>definite</a> .
974987
975988<!-- This differs from Grid's definition
976989(which just consults the first of specified,transferred,content that exists)
0 commit comments