Skip to content

Commit b8a2be7

Browse files
committed
[css-flexbox] Rename the terms used in automatic minimum size calculations. Part of #2385.
1 parent d22ae8e commit b8a2be7

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

css-flexbox-1/Overview.bs

+18-16
Original file line numberDiff line numberDiff line change
@@ -910,42 +910,44 @@ Automatic Minimum Size of Flex Items</h3>
910910
of the 'min-width' and 'min-height' properties
911911
[[!CSS-SIZING-3]]
912912
(which represents their initial value)
913-
applies an <a>automatic minimum size</a>
914-
to <a>flex items</a> whose 'overflow' is ''overflow/visible'' in the <a>main axis</a>.
913+
applies a <dfn for="flexbox">content-based minimum size</dfn>
914+
to <a>flex items</a> whose 'overflow' is ''overflow/visible'' in the <a>main axis</a>;
915+
any other 'overflow' value causes the <a>automatic minimum size</a> to be zero,
916+
as usual.
915917

916-
In general, the <a>automatic minimum size</a> of a <a>flex item</a>
917-
is the smaller of its <a>content size</a> and its <a>specified size</a>.
918+
In general, the <a>content-based minimum size</a> of a <a>flex item</a>
919+
is the smaller of its <a>content size suggestion</a> and its <a>specified size suggestion</a>.
918920
However, if the box has an aspect ratio and no <a>specified size</a>,
919-
its <a>automatic minimum size</a>
920-
is the smaller of its <a>content size</a> and its <a>transferred size</a>.
921-
If the box has neither a <a>specified size</a> nor an aspect ratio,
922-
its <a>automatic minimum size</a> is the <a>content size</a>.
921+
its <a>content-based minimum size</a>
922+
is the smaller of its <a>content size suggestion</a> and its <a>transferred size suggestion</a>.
923+
If the box has neither a <a>specified size suggestion</a> nor an aspect ratio,
924+
its <a>content-based minimum size</a> is the <a>content size suggestion</a>.
923925

924-
The <a>content size</a>, <a>specified size</a>, and <a>transferred size</a>
926+
The <a>content size suggestion</a>, <a>specified size suggestion</a>, and <a>transferred size suggestion</a>
925927
used in this calculation account for the relevant min/max/preferred size properties
926-
so that the <a>automatic minimum size</a> does not interfere with any author-provided constraints,
928+
so that the <a>content-based minimum size</a> does not interfere with any author-provided constraints,
927929
and are defined below:
928930

929931
<dl>
930-
<dt><dfn dfn noexport>specified size</dfn>
932+
<dt><dfn dfn noexport>specified size suggestion</dfn>
931933
<dd>
932934
If the item’s computed <a>main size property</a> is <a>definite</a>,
933-
then the <a>specified size</a> is that size
935+
then the <a>specified size suggestion</a> is that size
934936
(clamped by its <a>max main size property</a> if it's <a>definite</a>).
935937
It is otherwise undefined.
936938

937-
<dt><dfn dfn noexport>transferred size</dfn>
939+
<dt><dfn dfn noexport>transferred size suggestion</dfn>
938940
<dd>
939941
If the item has an intrinsic aspect ratio
940942
and its computed <a>cross size property</a> is <a>definite</a>,
941-
then the <a>transferred size</a> is that size
943+
then the <a>transferred size suggestion</a> is that size
942944
(clamped by its <a lt="min cross size property">min and max cross size properties</a> if they are <a>definite</a>),
943945
converted through the aspect ratio.
944946
It is otherwise undefined.
945947

946-
<dt><dfn dfn noexport>content size</dfn>
948+
<dt><dfn dfn noexport>content size suggestion</dfn>
947949
<dd>
948-
The <a>content size</a> is the <a>min-content size</a> in the <a>main axis</a>,
950+
The <a>content size suggestion</a> is the <a>min-content size</a> in the <a>main axis</a>,
949951
clamped, if it has an aspect ratio, by any <a>definite</a> <a lt="min cross size property">min and max cross size properties</a> converted through the aspect ratio,
950952
and then further clamped by the <a>max main size property</a> if that is <a>definite</a>.
951953
</dl>

0 commit comments

Comments
 (0)