Skip to content

Commit 6770fb9

Browse files
committed
[css-flexbox] Editorial fixes to the AMS section. Part of w3c#2385.
1 parent b8a2be7 commit 6770fb9

1 file changed

Lines changed: 18 additions & 24 deletions

File tree

css-flexbox-1/Overview.bs

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -897,23 +897,17 @@ Collapsed Items</h3>
897897
<h3 id="min-size-auto">
898898
Automatic Minimum Size of Flex Items</h3>
899899

900-
Note: The ''min-width/auto'' value of 'min-width' and 'min-height' is new.
901-
It was initially introduced as the new initial value of these properties
902-
in this specification;
903-
its formal definition has now been moved
904-
to the <a href="http://www.w3.org/TR/css-sizing/">CSS Sizing</a> module.
905-
It is still required for a complete and correct implementation
906-
of this module.
907-
908-
To provide a more reasonable default minimum size for <a>flex items</a>,
909-
this specification defines that the ''min-width/auto'' keyword
910-
of the 'min-width' and 'min-height' properties
911-
[[!CSS-SIZING-3]]
912-
(which represents their initial value)
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.
900+
Note: The ''min-width/auto'' keyword,
901+
representing an <a>automatic minimum size</a>,
902+
is the new initial value of the 'min-width' and 'min-height' properties.
903+
The keyword was previously defined in this specification,
904+
but is now defined in the [[!CSS-SIZING-3|CSS Sizing]] module.
905+
906+
To provide a more reasonable default <a>minimum size</a> for <a>flex items</a>,
907+
the used value of a <a>main axis</a> <a>automatic minimum size</a>
908+
on a <a>flex item</a> whose 'overflow' is ''overflow/visible'' in the <a>main axis</a>
909+
is a <dfn>content-based minimum size</dfn>;
910+
any other 'overflow' value means the <a>automatic minimum size</a> is zero, as usual.
917911

918912
In general, the <a>content-based minimum size</a> of a <a>flex item</a>
919913
is the smaller of its <a>content size suggestion</a> and its <a>specified size suggestion</a>.
@@ -929,14 +923,14 @@ Automatic Minimum Size of Flex Items</h3>
929923
and are defined below:
930924

931925
<dl>
932-
<dt><dfn dfn noexport>specified size suggestion</dfn>
926+
<dt><dfn>specified size suggestion</dfn>
933927
<dd>
934928
If the item’s computed <a>main size property</a> is <a>definite</a>,
935929
then the <a>specified size suggestion</a> is that size
936930
(clamped by its <a>max main size property</a> if it's <a>definite</a>).
937931
It is otherwise undefined.
938932

939-
<dt><dfn dfn noexport>transferred size suggestion</dfn>
933+
<dt><dfn>transferred size suggestion</dfn>
940934
<dd>
941935
If the item has an intrinsic aspect ratio
942936
and its computed <a>cross size property</a> is <a>definite</a>,
@@ -945,19 +939,19 @@ Automatic Minimum Size of Flex Items</h3>
945939
converted through the aspect ratio.
946940
It is otherwise undefined.
947941

948-
<dt><dfn dfn noexport>content size suggestion</dfn>
942+
<dt><dfn>content size suggestion</dfn>
949943
<dd>
950944
The <a>content size suggestion</a> is the <a>min-content size</a> in the <a>main axis</a>,
951945
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,
952946
and then further clamped by the <a>max main size property</a> if that is <a>definite</a>.
953947
</dl>
954948

955-
For the purpose of calculating an intrinsic size of the element
956-
(e.g. the element's <a>min-content size</a>),
957-
this value causes the element's size in that axis to become indefinite
949+
For the purpose of calculating an intrinsic size of the box
950+
(e.g. the box’s <a>min-content size</a>),
951+
this value causes the box’s size in that axis to become indefinite
958952
(even if e.g. its 'width' property specifies a <a>definite</a> size).
959953
Note this means that percentages calculated against this size
960-
will be treated as ''height/auto''.
954+
will [=behave as auto=].
961955

962956
Nonetheless, although this may require an additional layout pass to re-resolve percentages in some cases,
963957
this value

0 commit comments

Comments
 (0)