@@ -428,8 +428,8 @@ <h2 class="no-num no-toc" id=table>Table of contents</h2>
428428 < li > < a href ="#flex-property "> < span class =secno > 7.1. </ span > The ‘< code
429429 class =property > flex</ code > ’ Shorthand</ a >
430430
431- < li > < a href ="#flex-examples "> < span class =secno > 7.2. </ span > Common
432- Values of ‘< code class =property > flex</ code > ’</ a >
431+ < li > < a href ="#flex-common "> < span class =secno > 7.2. </ span > Common Values
432+ of ‘< code class =property > flex</ code > ’</ a >
433433
434434 < li > < a href ="#flex-components "> < span class =secno > 7.3. </ span > Components
435435 of Flexibility</ a >
@@ -1256,7 +1256,8 @@ <h3 id=min-size-auto><span class=secno>4.5. </span> Implied Minimum Size of
12561256 < dt > < dfn id =min-auto title ="min-width/height:auto "> auto</ dfn >
12571257
12581258 < dd > When used as the value of a flex item's min main size property, this
1259- keyword indicates a minimum main size of the min-content size.
1259+ keyword indicates a minimum of the min-content size, to help ensure that
1260+ the item is large enough to fit its contents.
12601261 < p class =note > It is intended that this will compute to the ‘< code
12611262 class =css > min-content</ code > ’ keyword when the specification defining
12621263 it (< a
@@ -1973,7 +1974,8 @@ <h3 id=flex-property><span class=secno>7.1. </span> The ‘<a
19731974 not a < a href ="#flex-item "> < i > flex item</ i > </ a > , ‘< a href ="#flex "> < code
19741975 class =property > flex</ code > </ a > ’ has no effect.
19751976
1976- < p > The < var > <'flex-basis'> </ var > component sets the < dfn
1977+ < p > The < var > << a href ="#flex-basis-property "> ‘< code
1978+ class =property > flex-basis</ code > ’</ a > > </ var > component sets the < dfn
19771979 id =flex-basis > flex basis</ dfn > , which is the initial < a
19781980 href ="#main-size "> < i > main size</ i > </ a > of the < a href ="#flex-item "> < i > flex
19791981 item</ i > </ a > , before free space is distributed according to the flex
@@ -1986,8 +1988,10 @@ <h3 id=flex-property><span class=secno>7.1. </span> The ‘<a
19861988 specified with a unit. Unitless zero will either be interpreted as one of
19871989 the flex ratios, or will make the declaration invalid.
19881990
1989- < p > The < var > <'flex-grow'> </ var > and
1990- < var > <'flex-shrink'> </ var > components set the < dfn
1991+ < p > The < var > << a href ="#flex-grow "> ‘< code
1992+ class =property > flex-grow</ code > ’</ a > > </ var > and < var > << a
1993+ href ="#flex-basis-property "> ‘< code
1994+ class =property > flex-shrink</ code > ’</ a > > </ var > components set the < dfn
19911995 id =flex-grow-ratio > flex grow ratio</ dfn > and < dfn
19921996 id =flex-shrink-ratio > flex shrink ratio</ dfn > , which determine how much the
19931997 < a href ="#flex-item "> < i > flex item</ i > </ a > will grow or shrink relative to
@@ -2005,7 +2009,7 @@ <h3 id=flex-property><span class=secno>7.1. </span> The ‘<a
20052009 basis of zero) and "relative" flex (starting from a basis of the item's
20062010 content size). </ figcaption > </ figure >
20072011
2008- < h3 id =flex-examples > < span class =secno > 7.2. </ span > Common Values of ‘< a
2012+ < h3 id =flex-common > < span class =secno > 7.2. </ span > Common Values of ‘< a
20092013 href ="#flex "> < code class =property > flex</ code > </ a > ’</ h3 >
20102014
20112015 < p > < em > This section is informative.</ em >
@@ -2018,48 +2022,44 @@ <h3 id=flex-examples><span class=secno>7.2. </span> Common Values of ‘<a
20182022
20192023 < dt > ‘< code class =css > flex: 0 auto</ code > ’
20202024
2021- < dd > Equivalent to ‘< code class =css > flex: 0 1 auto</ code > ’. The value
2022- sets the size of the item according to the ‘< code
2025+ < dd > Equivalent to ‘< code class =css > flex: 0 1 auto</ code > ’. (This is
2026+ the initial value.) Sizes the item based on the ‘< code
20232027 class =property > width</ code > ’/‘< code class =property > height</ code > ’
2024- properties and makes the flex item inflexible when there is positive free
2025- space, but allows it to shrink to its < a
2026- href ="#min-size-auto "> minimum</ a > when there is insufficient space. (If
2027- the ‘< code class =property > width</ code > ’/‘< code
2028- class =property > height</ code > ’ used as the < a href ="#flex-basis "> < i > flex
2029- basis</ i > </ a > computes to ‘< code class =css > auto</ code > ’, this will
2030- size the flex item based on its contents.) The < a
2031- href ="#alignment "> alignment abilities</ a > or < a
2028+ properties. (If the item's < a href ="#main-size-property "> < i > main size
2029+ property</ i > </ a > computes to ‘< code class =css > auto</ code > ’, this will
2030+ size the flex item based on its contents.) Makes the flex item inflexible
2031+ when there is positive free space, but allows it to shrink to its < a
2032+ href ="#min-size-auto "> minimum</ a > when there is insufficient space. The
2033+ < a href ="#alignment "> alignment abilities</ a > or < a
20322034 href ="#auto-margins "> ‘< code class =css > auto</ code > ’ margins</ a > can be
2033- used to align flex items within the flex container.
2035+ used to align flex items along the < a href ="#main-axis "> < i > main
2036+ axis</ i > </ a > .
20342037
20352038 < dt > ‘< code class =css > flex: auto</ code > ’
20362039
2037- < dd > Equivalent to ‘< code class =css > flex: 1 1 auto</ code > ’. This value
2038- makes the flex item flexible, and sets the < a href ="#flex-basis "> < i > flex
2039- basis</ i > </ a > according to the ‘< code
2040- class =property > width</ code > ’/‘< code class =property > height</ code > ’
2041- properties. If all items are either ‘< code class =css > flex:
2042- auto</ code > ’ or ‘< code class =css > flex: none</ code > ’, any free space
2043- after the items have been sized will be distributed evenly to the items
2044- with ‘< code class =css > flex: auto</ code > ’.
2040+ < dd > Equivalent to ‘< code class =css > flex: 1 1 auto</ code > ’. Sizes the
2041+ item based on the ‘< code class =property > width</ code > ’/‘< code
2042+ class =property > height</ code > ’ properties, but makes them fully
2043+ flexible, so that they absorb any free space along the < a
2044+ href ="#main-axis "> < i > main axis</ i > </ a > . If all items are either ‘< code
2045+ class =css > flex: auto</ code > ’, ‘< code class =css > flex:
2046+ initial</ code > ’, or ‘< code class =css > flex: none</ code > ’, any
2047+ positive free space after the items have been sized will be distributed
2048+ evenly to the items with ‘< code class =css > flex: auto</ code > ’.
20452049
20462050 < dt > ‘< code class =css > flex: none</ code > ’
20472051
20482052 < dd > Equivalent to ‘< code class =css > flex: 0 0 auto</ code > ’. This value
2049- makes the flex item inflexible, and sets the size of the item according
2050- to the ‘< code class =property > width</ code > ’/‘< code
2051- class =property > height</ code > ’ properties. To size things normally but
2052- still use the < a href ="#alignment "> alignment abilities</ a > of flex
2053- layout, set all the flex items to ‘< code class =css > flex: none</ code > ’
2054- and then use ‘< code class =css > auto</ code > ’ margins or the alignment
2055- properties. This is similar to < a href ="#flex-initial "> ‘< code
2056- class =css > initial</ code > ’</ a > , except that flex items are not allowed
2057- to shrink, even in overflow situations.
2053+ sizes the item according to the ‘< code
2054+ class =property > width</ code > ’/‘< code class =property > height</ code > ’
2055+ properties, but makes the flex item fully inflexible. This is similar to
2056+ < a href ="#flex-initial "> ‘< code class =css > initial</ code > ’</ a > , except
2057+ that flex items are not allowed to shrink, even in overflow situations.
20582058
20592059 < dt > ‘< code class =css > flex: <positive-number> </ code > ’
20602060
20612061 < dd > Equivalent to ‘< code class =css > flex: <positive-number> 1
2062- 0% </ code > ’. This value makes the flex item flexible, and sets the < a
2062+ 0px </ code > ’. Makes the flex item flexible and sets the < a
20632063 href ="#flex-basis "> < i > flex basis</ i > </ a > to zero, resulting in an item
20642064 that receives the specified proportion of the free space in the flex
20652065 container. If all items in the flex container use this pattern, their
@@ -2069,7 +2069,8 @@ <h3 id=flex-examples><span class=secno>7.2. </span> Common Values of ‘<a
20692069 < p > By default, flex items won't shrink below their minimum content size
20702070 (the length of the longest word or fixed-size element). To change this,
20712071 set the ‘< code class =property > min-width</ code > ’ or ‘< code
2072- class =property > min-height</ code > ’ property.
2072+ class =property > min-height</ code > ’ property. (See < a
2073+ href ="#min-size-auto "> Implied Minimum Size of Flex Items</ a > .)
20732074
20742075 < h3 id =flex-components > < span class =secno > 7.3. </ span > Components of
20752076 Flexibility</ h3 >
0 commit comments