Skip to content

Commit 060bd5f

Browse files
committed
[css-grid-1] Add IDs for intrinsic track algo steps.
1 parent 34f24dc commit 060bd5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-grid-1/Overview.bs

+4-4
Original file line numberDiff line numberDiff line change
@@ -3703,7 +3703,7 @@ Resolve Intrinsic Track Sizes</h3>
37033703
-->
37043704

37053705
<ol>
3706-
<li>
3706+
<li id="algo-baseline-shims">
37073707
<strong>Shim baseline-aligned items
37083708
so their intrinsic size contributions reflect their baseline alignment.</strong>
37093709
For the items in each <a>baseline-sharing group</a>,
@@ -3739,7 +3739,7 @@ Resolve Intrinsic Track Sizes</h3>
37393739
<a href="#row-align">do not participate in baseline alignment</a>,
37403740
they are not shimmed.
37413741

3742-
<li>
3742+
<li id="algo-single-span-items">
37433743
<strong>Size tracks to fit non-spanning items:</strong>
37443744
For each track with an intrinsic <a>track sizing function</a>,
37453745
consider the items in it with a span of 1:
@@ -3798,7 +3798,7 @@ Resolve Intrinsic Track Sizes</h3>
37983798
In all cases, if a track’s <a>growth limit</a> is now less than its <a>base size</a>,
37993799
increase the <a>growth limit</a> to match the <a>base size</a>.
38003800

3801-
<li>
3801+
<li id="algo-spanning-items">
38023802
<strong>Increase sizes to accommodate spanning items:</strong>
38033803
Next, consider the items with a span of 2
38043804
that do not span a track with a <a>flexible sizing function</a>,
@@ -3891,7 +3891,7 @@ Resolve Intrinsic Track Sizes</h3>
38913891

38923892
Repeat incrementally for items with greater spans until all items have been considered.
38933893

3894-
<li>
3894+
<li id="algo-finite-growth">
38953895
If any track still has an infinite <a>growth limit</a>
38963896
(because, for example, it had no items placed in it),
38973897
set its <a>growth limit</a> to its <a>base size</a>.

0 commit comments

Comments
 (0)