Skip to content

[css-grid-1] Initialize growth limits of flexible tracks to infinity. #4313 #4314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 22 additions & 7 deletions css-grid-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3894,12 +3894,9 @@ Initialize Track Sizes</h3>
Resolve to an absolute length and use that size as the track’s initial <a>growth limit</a>.

<dt>An <a>intrinsic sizing function</a>
<dd>
Use an initial <a>growth limit</a> of infinity.

<dt>A <a>flexible sizing function</a>
<dd>
Use the track’s initial <a>base size</a> as its initial <a>growth limit</a>.
Use an initial <a>growth limit</a> of infinity.
</dl>

In all cases, if the <a>growth limit</a> is less than the <a>base size</a>,
Expand Down Expand Up @@ -4177,9 +4174,6 @@ Resolve Intrinsic Track Sizes</h3>
an <a lt="intrinsic sizing function">intrinsic</a> <a>min track sizing function</a>
while
<ul>
<li>
treating <a>flexible tracks</a> as having
an infinite <a>growth limit</a>
<li>
distributing space <em>only</em> to <a>flexible tracks</a>
(i.e. treating all other tracks as having a <a>fixed sizing function</a>)
Expand Down Expand Up @@ -4766,6 +4760,27 @@ Minor Changes</h4>
from its border edges.
</ul>
</blockquote>
<li id="change-2017-flex-initial-growth-limit">
Initialize the <a>growth limit</a> of <a>flexible tracks</a> to infinity,
instead of setting it first to the base size and changing it later.
(<a href="https://github.com/w3c/csswg-drafts/issues/4313">Issue 4313</a>)
<blockquote>
<dl>
<dt>An <a>intrinsic sizing function</a>
<dt><ins>A <a>flexible sizing function</a></ins>
<dd>
Use an initial <a>growth limit</a> of infinity.

<dt><del>A <a>flexible sizing function</a></del>
<dd>
<del>Use the track’s initial <a>base size</a> as its initial <a>growth limit</a>.</del>
</blockquote>
<blockquote>
<ul>
<li>
<del>treating <a>flexible tracks</a> as having
an infinite <a>growth limit</a>
</blockquote>
</ul>

<h4 id="clarify-2017">
Expand Down