Skip to content

Commit 1992cf3

Browse files
committed
[css-flexbox-1] Be more precise about what we mean by specified size (now that we have terms we can link to in css-sizing).
1 parent 1c13062 commit 1992cf3

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

css-flexbox-1/Overview.bs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2889,14 +2889,15 @@ Flex Item Intrinsic Size Contributions</h4>
28892889

28902890
The <strong>main-size <a>min-content contribution</a> of a <a>flex item</a></strong>
28912891
is the larger of its <em>outer</em> <a>min-content size</a>
2892-
and specified size (its 'width'/'height' as appropriate, if that is <a>definite</a>),
2892+
and outer <a>preferred size</a> (its 'width'/'height' as appropriate)
2893+
if that is not ''width/auto'',
28932894
clamped by its <a>flex base size</a> as a maximum (if it is not growable)
28942895
and/or as a minimum (if it is not shrinkable),
28952896
and then further clamped by its <a lt="min main size property">min</a>/<a>max main size properties</a>.
28962897

28972898
The <strong>main-size <a>max-content contribution</a> of a <a>flex item</a></strong>
28982899
is the larger of its <em>outer</em> <a>max-content size</a>
2899-
and specified size (its 'width'/'height' as appropriate, if that is <a>definite</a>),
2900+
and outer <a>preferred size</a> (its 'width'/'height' as appropriate)
29002901
clamped by its <a>flex base size</a> as a maximum (if it is not growable)
29012902
and/or as a minimum (if it is not shrinkable),
29022903
and then further clamped by its <a lt="min main size property">min</a>/<a>max main size properties</a>.
@@ -3470,12 +3471,23 @@ Changes since the 16 October 2017 CR</h3>
34703471

34713472
<li id="change-2017-flex-min-contribution">
34723473
Floored <a>flex item</a>’s <a>min-content contribution</a>
3473-
by their specified size ('width'/'height' as appropriate).
3474+
by their <a>preferred size</a>
34743475
(<a href="https://github.com/w3c/csswg-drafts/issues/2353">Issue 2353</a>)
3476+
and cleaned up associated wording to be more precise.
34753477
<blockquote>
3476-
The <strong>main-size <a>min-content contribution</a> of a <a>flex item</a></strong>
3478+
The main-size <a>min-content contribution</a> of a <a>flex item</a>
34773479
is the larger of its <em>outer</em> <a>min-content size</a>
3478-
<ins>and specified size (its 'width'/'height' as appropriate, if that is <a>definite</a>)</ins>,
3480+
<ins>and outer <a>preferred size</a> (its 'width'/'height' as appropriate)
3481+
if that is not ''width/auto''</ins>,
3482+
clamped by its <a>flex base size</a> as a maximum (if it is not growable)
3483+
and/or as a minimum (if it is not shrinkable),
3484+
and then further clamped by its <a lt="min main size property">min</a>/<a>max main size properties</a>.
3485+
3486+
The main-size <a>max-content contribution</a> of a <a>flex item</a>
3487+
is the larger of its <em>outer</em> <a>max-content size</a>
3488+
and <ins>outer</ins> <del>specified</del> <ins>preferred</ins> size
3489+
(its 'width'/'height' as appropriate<del>,</del><ins>)</ins>
3490+
if that is <del>definite</del><ins>not ''width/auto''</ins>,
34793491
clamped by its <a>flex base size</a> as a maximum (if it is not growable)
34803492
and/or as a minimum (if it is not shrinkable),
34813493
and then further clamped by its <a lt="min main size property">min</a>/<a>max main size properties</a>.

0 commit comments

Comments
 (0)