Skip to content

Commit

Permalink
[css-grid-1] Clarify cases where the minimum contribution derives fro…
Browse files Browse the repository at this point in the history
…m the minimum size rather than the min-content contribution. #3612
  • Loading branch information
fantasai committed Jun 7, 2019
1 parent d5b753c commit bf1450a
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions css-grid-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4010,8 +4010,9 @@ Resolve Intrinsic Track Sizes</h3>
('min-width' or 'min-height', whichever matches the relevant axis)
as its <a>preferred size</a>
('width' or 'height', whichever matches the relevant axis)
if its computed <a>preferred size</a> [=behaves as auto=],
or else the item’s <a>min-content contribution</a> otherwise.
if its computed <a>preferred size</a> [=behaves as auto=]
or depends on the size of the container in the relevant axis;
else is the item’s <a>min-content contribution</a>.
Because the <a>minimum size</a> often depends
on the size of the item’s content,
it is considered a type of <a>intrinsic size contribution</a>.
Expand Down Expand Up @@ -4820,6 +4821,26 @@ Clarifications</h4>
if there are no such tracks, then all affected tracks.
</ul>
</blockquote>
<li id="change-2017-minimum-contribution-auto">
Clarify the cases where the minimum contribution
is taken from the minimum size.
(<a href="https://github.com/w3c/csswg-drafts/issues/3612">Issue 3612</a>)
<blockquote>
The <dfn noexport id="min-size-contribution">minimum contribution</dfn> of an item
is the smallest outer size it can have.
Specifically, it is the outer size
that would result from assuming
the item’s used <a>minimum size</a>
('min-width' or 'min-height', whichever matches the relevant axis)
as its <a>preferred size</a>
('width' or 'height', whichever matches the relevant axis)
if its computed <a>preferred size</a> [=behaves as auto=]
<ins>or depends on the size of the container in the relevant axis</ins>;
else is the item’s <a>min-content contribution</a>.
Because the <a>minimum size</a> often depends
on the size of the item’s content,
it is considered a type of <a>intrinsic size contribution</a>.
</blockquote>
</ul>

<h3 id="changes-2016">
Expand Down

0 comments on commit bf1450a

Please sign in to comment.