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