@@ -887,7 +887,7 @@ Implied Minimum Size of Flex Items</h3>
887887 this keyword specifies as the minimum size the smallest of:
888888
889889 <ul>
890- <li> the used 'flex-basis' , if the computed 'flex-basis' was ''flex-basis/auto '' ,
890+ <li> the used 'flex-basis' , if the computed 'flex-basis' was ''flex-basis/main-size '' ,
891891 <li> the computed 'max-width' ('max-height' ), if that value is <a>definite</a> ,
892892 <li> if the item has no intrinsic aspect ratio, its <a>min-content size</a> ,
893893 <li> if the item has an intrinsic aspect ratio,
@@ -1422,7 +1422,7 @@ The 'flex' Shorthand</h3>
14221422
14231423 <pre class='propdef'>
14241424 Name : flex
1425- Value : none | [ <<'flex-grow'>> <<'flex-shrink'>>? || <<'flex-basis'>> ]
1425+ Value : none | auto | [ <<'flex-grow'>> <<'flex-shrink'>>? || <<'flex-basis'>> ]
14261426 Initial : see individual properties
14271427 Applies to : <a>flex items</a>
14281428 Inherited : see individual properties
@@ -1474,9 +1474,8 @@ The 'flex' Shorthand</h3>
14741474 before free space is distributed according to the flex factors.
14751475 When omitted from the 'flex' shorthand, its specified value is ''0%'' .
14761476 <p>
1477- If the specified 'flex-basis' is <a value for=flex-basis>auto </a> ,
1477+ If the specified 'flex-basis' is <a value for=flex-basis>main-size </a> ,
14781478 the used <i> flex basis</i> is the value of the flex item’s <i> main size property</i> .
1479- (This can itself be the keyword <a value for=width>auto</a> , which sizes the flex item based on its contents.)
14801479
14811480 <figure>
14821481 <img src='images/rel-vs-abs-flex.svg' width='504' height='240'>
@@ -1489,13 +1488,20 @@ The 'flex' Shorthand</h3>
14891488 </figcaption>
14901489 </figure>
14911490
1491+ <dt> <dfn>auto</dfn>
1492+ <dd>
1493+ The keyword ''flex/auto'' expands to ''1 1 main-size'' .
1494+
1495+ <!-- This is a legacy value, because the "main-size" keyword used to be "auto", but that was confusing. -->
1496+
1497+
14921498 <dt> <dfn>none</dfn>
14931499 <dd>
1494- <p> The keyword ''none'' computes to ''0 0 auto '' .
1500+ <p> The keyword ''none'' computes to ''0 0 main-size '' .
14951501 </dl>
14961502
14971503 <p>
1498- The initial values of the 'flex' components are equivalent to <a class="css-code" href="#flex-initial">flex: 0 1 auto </a> .
1504+ The initial values of the 'flex' components are equivalent to <a class="css-code" href="#flex-initial">flex: 0 1 main-size </a> .
14991505 <p class="note">
15001506 Note that the initial values of 'flex-grow' and 'flex-basis'
15011507 are different from their defaults when omitted in the 'flex' shorthand.
@@ -1517,10 +1523,10 @@ Common Values of 'flex'</h3>
15171523 The list below summarizes the effects of the most common 'flex' values:
15181524
15191525 <dl>
1520- <dt id="flex-initial"> ''flex: 0 auto ''
1526+ <dt id="flex-initial"> ''flex: 0 main-size ''
15211527 <dt> ''flex: initial''
15221528 <dd>
1523- Equivalent to ''flex: 0 1 auto '' . (This is the initial value.)
1529+ Equivalent to ''flex: 0 1 main-size '' . (This is the initial value.)
15241530 Sizes the item based on the 'width' /'height' properties.
15251531 (If the item's <i> main size property</i> computes to <a value for=width>auto</a> ,
15261532 this will size the flex item based on its contents.)
@@ -1531,15 +1537,15 @@ Common Values of 'flex'</h3>
15311537
15321538 <dt> ''flex: auto''
15331539 <dd>
1534- Equivalent to ''flex: 1 1 auto '' .
1540+ Equivalent to ''flex: 1 1 main-size '' .
15351541 Sizes the item based on the 'width' /'height' properties,
15361542 but makes them fully flexible, so that they absorb any free space along the <i> main axis</i> .
15371543 If all items are either ''flex: auto'' , ''flex: initial'' , or ''flex: none'' ,
15381544 any positive free space after the items have been sized will be distributed evenly to the items with ''flex: auto'' .
15391545
15401546 <dt> ''flex: none''
15411547 <dd>
1542- Equivalent to ''flex: 0 0 auto '' .
1548+ Equivalent to ''flex: 0 0 main-size '' .
15431549 This value sizes the item according to the 'width' /'height' properties,
15441550 but makes the flex item fully inflexible.
15451551 This is similar to ''initial'' ,
@@ -1616,8 +1622,8 @@ The 'flex-basis' property</h4>
16161622
16171623 <pre class='propdef'>
16181624 Name : flex-basis
1619- Value : auto | <<'width'>>
1620- Initial : auto
1625+ Value : main-size | <<'width'>>
1626+ Initial : main-size
16211627 Applies to : <a>flex items</a>
16221628 Inherited : no
16231629 Computed value : as specified, with lengths made absolute
@@ -1631,9 +1637,8 @@ The 'flex-basis' property</h4>
16311637 It accepts the same values as the 'width' and 'height' property.
16321638
16331639 <p>
1634- The <dfn value for=flex-basis>auto </dfn> keyword, when specified on a <i> flex item</i> ,
1640+ The <dfn value for=flex-basis>main-size </dfn> keyword, when specified on a <i> flex item</i> ,
16351641 retrieves the value of the <i> main size property</i> .
1636- Note, this may result in a used <i> flex basis</i> of ''auto'' .
16371642
16381643 <p>
16391644 The <i> flex basis</i> is resolved the same way as 'width' in horizontal writing modes [[!CSS21]] :
@@ -2253,7 +2258,7 @@ Line Length Determination</h3>
22532258 If the flex item has ...
22542259 <ul>
22552260 <li> an intrinsic aspect ratio,
2256- <li> a <i> flex basis</i> of ''flex-basis/auto '' , and
2261+ <li> a <i> flex basis</i> of ''flex-basis/main-size '' , and
22572262 <li> a <i> definite</i> <i> cross size</i>
22582263 </ul>
22592264 then the <i> flex base size</i> is calculated from its inner <i> cross size</i>
0 commit comments