Skip to content

Commit b303160

Browse files
committed
[css-flexbox] Address nits by dholbert in w3c#1735, and fix minor linking errors.
1 parent 7ecad03 commit b303160

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

css-flexbox-1/Overview.bs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,8 +1518,8 @@ The 'flex' Shorthand</h3>
15181518
</pre>
15191519

15201520
The 'flex' property specifies the components of a <dfn>flexible length</dfn>:
1521-
the <a>flex grow factor</a>
1522-
and <a>flex shrink factor</a>,
1521+
the <dfn lt="flex factor">flex factors</dfn>
1522+
(<a lt="flex grow factor">grow</a> and <a lt="flex shrink factor">shrink</a>)
15231523
and the <a>flex basis</a>.
15241524
When a box is a <a>flex item</a>,
15251525
'flex' is consulted <em>instead of</em> the <a>main size property</a>
@@ -2834,29 +2834,29 @@ Flex Container Intrinsic Main Sizes</h4>
28342834
and make the <a>flex container’s</a> size continuous as you transition between the two:
28352835

28362836
1. If all items are inflexible,
2837-
the flexbox is sized to the sum of their <a>flex base size</a>.
2837+
the <a>flex container</a> is sized to the sum of their <a>flex base size</a>.
28382838
(An inflexible <a>flex base size</a> basically substitutes for a 'width'/'height',
2839-
which, when specified, is what a <a>max content contribution</a> is based on in Block Layout.)
2839+
which, when specified, is what a <a>max-content contribution</a> is based on in Block Layout.)
28402840

2841-
2. When all items are flexible with flexes > 1,
2842-
the flexbox is sized to the sum of the <a>max content contributions</a> of its items
2841+
2. When all items are flexible with <a>flex factors</a> 1,
2842+
the <a>flex container</a> is sized to the sum of the <a>max-content contributions</a> of its items
28432843
(or perhaps a slightly larger size,
28442844
so that every flex item is <em>at least</em> the size of its <a>max-content contribution</a>,
28452845
but also has the correct ratio of its size to the size of the other items,
28462846
as determined by its flexibility).
28472847

28482848
For example, if a <a>flex container</a> has a single <a>flex item</a>
28492849
with ''flex-basis: 100px;'' but a max-content size of ''200px'',
2850-
then when the item is ''flex-grow: 0'', the flexbox (and flex item) is ''100px'' wide,
2851-
but when the item is ''flex-grow: 1'' or higher, the flexbox (and flex item) is ''200px'' wide.
2850+
then when the item is ''flex-grow: 0'', the <a>flex container</a> (and <a>flex item</a>) is ''100px'' wide,
2851+
but when the item is ''flex-grow: 1'' or higher, the <a>flex container</a> (and flex item) is ''200px'' wide.
28522852

28532853
There are several possible ways to make the overall behavior continuous between these two cases,
28542854
particularly when the sum of flexibilities on a line is between 0 and 1,
28552855
but all of them have drawbacks.
28562856
We chose one we feel has the least bad implications;
28572857
unfortunately, it "double-applies" the flexibility when the sum of the flexibilities is less than 1.
28582858
In the above example, if the item has ''flex-grow: .5'',
2859-
then the flexbox ends up ''150px'' wide,
2859+
then the <a>flex container</a> ends up ''150px'' wide,
28602860
but the item then sizes normally into that available space,
28612861
ending up ''125px'' wide.
28622862
</details>
@@ -3543,7 +3543,7 @@ Substantive Changes and Bugfixes</h4>
35433543
</table>
35443544
&hellip;
35453545
<p><del>On absolutely positioned elements,
3546-
a value of ''align-self/auto' computes to itself.
3546+
a value of ''align-self/auto'' computes to itself.
35473547
On all other elements, a value of ''aligh-self/auto'' for 'align-self'
35483548
computes to the value of 'align-items' on the element’s parent,
35493549
or ''align-self/stretch'' if the element has no parent.</del>
@@ -3681,7 +3681,7 @@ Substantive Changes and Bugfixes</h4>
36813681
(<a href="https://github.com/w3c/csswg-drafts/issues/205">Issue 205</a>)
36823682
<li id="change-2016-reword-min-auto-fix">
36833683
Restored definition of the <a>automatic minimum size</a>
3684-
of boxes with neither <a>specified size</a> nor <a>aspect ratio</a>,
3684+
of boxes with neither <a>specified size</a> nor aspect ratio,
36853685
which was lost in earlier <a href="#change-2016-reword-min-auto">rewrite</a>.
36863686
(<a href="https://github.com/w3c/csswg-drafts/issues/671">Issue 671</a>)
36873687
</ul>

0 commit comments

Comments
 (0)