Skip to content

Commit 586028e

Browse files
committed
[css-grid] Make it clearer that 'all' refers to all the input tracks, not all tracks in the whole grid.
1 parent af0b879 commit 586028e

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

css-grid/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,7 +2809,8 @@ Resolve Content-Based Track Sizing Functions</h3>
28092809
</ol>
28102810
</ol>
28112811

2812-
At this point, all intrinsic <i>base sizes</i> and <i>growth limits</i>
2812+
Note: When this step is complete,
2813+
all intrinsic <a>base sizes</a> and <a>growth limits</a>
28132814
will have been resolved to absolute lengths.
28142815

28152816

@@ -2879,15 +2880,15 @@ Find the Size of an ''fr''</h4>
28792880
<ol>
28802881
<li>
28812882
Let <dfn>leftover space</dfn> be the <a>space to fill</a>
2882-
minus the <a>base sizes</a> of all the non-flexible <a>grid tracks</a>.
2883+
minus the <a>base sizes</a> of the non-flexible <a>grid tracks</a>.
28832884

28842885
<li>
28852886
Let the <dfn>hypothetical flex fraction</dfn>
28862887
be the <a>leftover space</a>
2887-
divided by the sum of the <a>flex factors</a> of all flexible tracks.
2888+
divided by the sum of the <a>flex factors</a> of the flexible tracks.
28882889

28892890
<li>
2890-
For all flexible tracks,
2891+
For the flexible tracks,
28912892
if the product of the <a>hypothetical flex fraction</a> and the track's <a>flex factor</a>
28922893
is less than the track's base size,
28932894
restart this algorithm

css-grid/Overview.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2861,7 +2861,8 @@ <h3 class="heading settled heading" data-level=10.4 id=algo-content><span class=
28612861
</ol>
28622862
</ol>
28632863

2864-
<p>At this point, all intrinsic <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> and <a data-link-type=dfn href=#growth-limit title="growth limits">growth limits</a>
2864+
<p class=note>Note: When this step is complete,
2865+
all intrinsic <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> and <a data-link-type=dfn href=#growth-limit title="growth limits">growth limits</a>
28652866
will have been resolved to absolute lengths.</p>
28662867

28672868

@@ -2931,15 +2932,15 @@ <h4 class="heading settled heading" data-level=10.6.1 id=algo-find-fr-size><span
29312932
<ol>
29322933
<li>
29332934
Let <dfn data-dfn-type=dfn data-noexport="" id=leftover-space>leftover space<a class=self-link href=#leftover-space></a></dfn> be the <a data-link-type=dfn href=#space-to-fill title="space to fill">space to fill</a>
2934-
minus the <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> of all the non-flexible <a data-link-type=dfn href=#grid-track title="grid tracks">grid tracks</a>.
2935+
minus the <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> of the non-flexible <a data-link-type=dfn href=#grid-track title="grid tracks">grid tracks</a>.
29352936

29362937
<li>
29372938
Let the <dfn data-dfn-type=dfn data-noexport="" id=hypothetical-flex-fraction>hypothetical flex fraction<a class=self-link href=#hypothetical-flex-fraction></a></dfn>
29382939
be the <a data-link-type=dfn href=#leftover-space title="leftover space">leftover space</a>
2939-
divided by the sum of the <a data-link-type=dfn title="flex factors">flex factors</a> of all flexible tracks.
2940+
divided by the sum of the <a data-link-type=dfn title="flex factors">flex factors</a> of the flexible tracks.
29402941

29412942
<li>
2942-
For all flexible tracks,
2943+
For the flexible tracks,
29432944
if the product of the <a data-link-type=dfn href=#hypothetical-flex-fraction title="hypothetical flex fraction">hypothetical flex fraction</a> and the track’s <a data-link-type=dfn title="flex factor">flex factor</a>
29442945
is less than the track’s base size,
29452946
restart this algorithm

0 commit comments

Comments
 (0)