Skip to content

Commit bf1450a

Browse files
committed
[css-grid-1] Clarify cases where the minimum contribution derives from the minimum size rather than the min-content contribution. #3612
1 parent d5b753c commit bf1450a

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

css-grid-1/Overview.bs

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4010,8 +4010,9 @@ Resolve Intrinsic Track Sizes</h3>
40104010
('min-width' or 'min-height', whichever matches the relevant axis)
40114011
as its <a>preferred size</a>
40124012
('width' or 'height', whichever matches the relevant axis)
4013-
if its computed <a>preferred size</a> [=behaves as auto=],
4014-
or else the item’s <a>min-content contribution</a> otherwise.
4013+
if its computed <a>preferred size</a> [=behaves as auto=]
4014+
or depends on the size of the container in the relevant axis;
4015+
else is the item’s <a>min-content contribution</a>.
40154016
Because the <a>minimum size</a> often depends
40164017
on the size of the item’s content,
40174018
it is considered a type of <a>intrinsic size contribution</a>.
@@ -4820,6 +4821,26 @@ Clarifications</h4>
48204821
if there are no such tracks, then all affected tracks.
48214822
</ul>
48224823
</blockquote>
4824+
<li id="change-2017-minimum-contribution-auto">
4825+
Clarify the cases where the minimum contribution
4826+
is taken from the minimum size.
4827+
(<a href="https://github.com/w3c/csswg-drafts/issues/3612">Issue 3612</a>)
4828+
<blockquote>
4829+
The <dfn noexport id="min-size-contribution">minimum contribution</dfn> of an item
4830+
is the smallest outer size it can have.
4831+
Specifically, it is the outer size
4832+
that would result from assuming
4833+
the item’s used <a>minimum size</a>
4834+
('min-width' or 'min-height', whichever matches the relevant axis)
4835+
as its <a>preferred size</a>
4836+
('width' or 'height', whichever matches the relevant axis)
4837+
if its computed <a>preferred size</a> [=behaves as auto=]
4838+
<ins>or depends on the size of the container in the relevant axis</ins>;
4839+
else is the item’s <a>min-content contribution</a>.
4840+
Because the <a>minimum size</a> often depends
4841+
on the size of the item’s content,
4842+
it is considered a type of <a>intrinsic size contribution</a>.
4843+
</blockquote>
48234844
</ul>
48244845

48254846
<h3 id="changes-2016">

0 commit comments

Comments
 (0)