Skip to content

Commit fe5ad42

Browse files
committed
[css-flexbox-1] Correctly ignore auto preferred sizes in max-content contributions, as we clearly intended to in 1992cf3. Fixes #6455.
1 parent ac8f15a commit fe5ad42

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

css-flexbox-1/Overview.bs

+7
Original file line numberDiff line numberDiff line change
@@ -2919,6 +2919,7 @@ Flex Item Intrinsic Size Contributions</h4>
29192919
The <strong>main-size <a>max-content contribution</a> of a <a>flex item</a></strong>
29202920
is the larger of its <em>outer</em> <a>max-content size</a>
29212921
and outer <a>preferred size</a> (its 'width'/'height' as appropriate)
2922+
if that is not ''width/auto'',
29222923
clamped by its <a>flex base size</a> as a maximum (if it is not growable)
29232924
and/or as a minimum (if it is not shrinkable),
29242925
and then further clamped by its <a lt="min main size">min</a>/<a>max main size</a>.
@@ -3518,6 +3519,12 @@ Boris Zbarsky.
35183519
Changes since the <a href="https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/">19 November 2018 CR</a></h3>
35193520

35203521
<ul>
3522+
<li id="change-2018-correctly-ignore-auto">
3523+
Correctly ignore ''width/auto'' [=preferred sizes=]
3524+
in both min <em>and</em> max size contribution calculations.
3525+
(It was accidentally omitted from the max,
3526+
tho it shows up in the <a href="#change-2017-flex-min-contribution">changelog</a>...)
3527+
35213528
<li id="change-2018-move-order">
35223529
Moved the 'order' property to [[css-display-3]].
35233530

0 commit comments

Comments
 (0)