Skip to content

Commit d73abae

Browse files
committed
[css-grid-1] Fix link errors.
1 parent 5bdd09a commit d73abae

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

css-grid-1/Overview.bs

+21-18
Original file line numberDiff line numberDiff line change
@@ -1806,14 +1806,15 @@ Flexible Lengths: the ''fr'' unit</h4>
18061806
██████ ███████ ██ ██ ██ ███████ ██ ████████ ████████
18071807
-->
18081808

1809-
<h4 id='computed-track-list'>
1809+
<h4 id='computed-tracks'>
18101810
Computed Values</h4>
18111811

1812-
A <dfn>computed track list</dfn> is a [=list=]
1812+
A <dfn>computed track list</dfn> is a <a spec=infra>list</a>
18131813
alternating between [=line name sets=] and [=track sections=],
18141814
with the first and last items being [=line name sets=].
18151815

1816-
A <dfn>line name set</dfn> is a (potentially empty) [=set=] of identifiers representing line names.
1816+
A <dfn>line name set</dfn> is a (potentially empty) <a spec=infra for=/>set</a>
1817+
of identifiers representing line names.
18171818

18181819
A <dfn>track section</dfn> is either:
18191820

@@ -3932,7 +3933,7 @@ Resolve Intrinsic Track Sizes</h3>
39323933
to the maximum of its items’ <a lt="min-content contribution">min/max-content contributions</a>,
39333934
respectively,
39343935
each limited by the <a>max track sizing function</a>
3935-
if that is <a lt="fixed track sizing function">fixed</a>
3936+
if that is <a lt="fixed sizing function">fixed</a>
39363937
and ultimately floored by its <a>minimum contribution</a>.
39373938

39383939
Otherwise,
@@ -4064,18 +4065,18 @@ Resolve Intrinsic Track Sizes</h3>
40644065
Repeat incrementally for items with greater spans until all items have been considered.
40654066

40664067
<li id="algo-spanning-flex-items">
4067-
<strong>Increase sizes to accommodate spanning items crossing flexible tracks:</strong>
4068+
<strong>Increase sizes to accommodate spanning items crossing <a>flexible tracks</a>:</strong>
40684069
Next, repeat the previous step
40694070
instead considering (together, rather than grouped by span size)
40704071
all items
40714072
that <em>do</em> span a track with a <a>flexible sizing function</a>
40724073
while
40734074
<ul>
40744075
<li>
4075-
treating flexible tracks as having
4076+
treating <a>flexible tracks</a> as having
40764077
a <a>max track sizing function</a> equal to their <a>min track sizing function</a>
40774078
<li>
4078-
distributing space <em>only</em> to flexible tracks
4079+
distributing space <em>only</em> to <a>flexible tracks</a>
40794080
(i.e. treating all other tracks as having a <a>fixed sizing function</a>
40804081
of their current <a>base size</a>)
40814082
<li>
@@ -4199,7 +4200,7 @@ Maximize Tracks</h3>
41994200
<h3 id="algo-flex-tracks">
42004201
Expand Flexible Tracks</h3>
42014202

4202-
This step sizes flexible tracks
4203+
This step sizes <a>flexible tracks</a>
42034204
using the largest value it can assign to an ''fr''
42044205
without exceeding the <a>available space</a>.
42054206

@@ -4245,7 +4246,7 @@ Expand Flexible Tracks</h3>
42454246
(<a property lt=max-width>max-width/height</a>).
42464247
</dl>
42474248

4248-
For each flexible track,
4249+
For each <a>flexible track</a>,
42494250
if the product of the used <a>flex fraction</a> and the track's <a>flex factor</a>
42504251
is greater than the track's <a>base size</a>,
42514252
set its <a>base size</a> to that product.
@@ -4265,7 +4266,8 @@ Find the Size of an ''fr''</h4>
42654266
minus the <a>base sizes</a> of the non-flexible <a>grid tracks</a>.
42664267

42674268
<li>
4268-
Let <dfn>flex factor sum</dfn> be the sum of the <a>flex factors</a> of the flexible tracks.
4269+
Let <dfn>flex factor sum</dfn> be the sum of
4270+
the <a>flex factors</a> of the <a>flexible tracks</a>.
42694271
If this value is less than 1,
42704272
set it to 1 instead.
42714273

@@ -4275,7 +4277,8 @@ Find the Size of an ''fr''</h4>
42754277
divided by the <a>flex factor sum</a>.
42764278

42774279
<li>
4278-
If the product of the <a>hypothetical fr size</a> and a flexible track's <a>flex factor</a>
4280+
If the product of the <a>hypothetical fr size</a>
4281+
and a <a>flexible track</a>'s <a>flex factor</a>
42794282
is less than the track's base size,
42804283
restart this algorithm
42814284
treating all such tracks as inflexible.
@@ -4457,7 +4460,7 @@ Major Changes</h4>
44574460
(<a href="https://github.com/w3c/csswg-drafts/issues/2085">Issue 2085</a>)
44584461

44594462
<li id="change-2017-span-flexible-tracks">
4460-
Adjusted handling of items spanning flexible tracks
4463+
Adjusted handling of items spanning <a>flexible tracks</a>
44614464
to intrinsic track sizes so that
44624465
they contribute to the size of flexible tracks that have an intrinsic min
44634466
rather than being ignored.
@@ -4506,7 +4509,7 @@ Major Changes</h4>
45064509
to the maximum of its items’ <a lt="min-content contribution">min/max-content contributions</a>,
45074510
respectively<ins>,
45084511
each limited to less than or equal to the <a>max track sizing function</a>
4509-
if that is <a lt="fixed track sizing function">fixed</a>,
4512+
if that is <a lt="fixed sizing function">fixed</a>,
45104513
and ultimately floored by its <a>minimum contribution</a>.</ins>
45114514
</blockquote>
45124515
<blockquote>
@@ -4793,8 +4796,8 @@ Significant Adjustments and Fixes</h4>
47934796
&hellip;</p>
47944797
<p>However, if the <a>grid item</a> spans only <a>grid tracks</a>
47954798
that have a <a lt="fixed sizing function">fixed</a> <a>max track sizing function</a>,
4796-
its <del><a>automatic minimum size</a></del> <ins><a>specified size</a> and <a>content size</a></ins> in that dimension
4797-
<ins>(and the input to the <a>transferred size</a> in the other dimension)</ins>
4799+
its <del><a>automatic minimum size</a></del> <ins>specified size and content size</ins> in that dimension
4800+
<ins>(and the input to the transferred size in the other dimension)</ins>
47984801
are further clamped to less than or equal to the <a>stretch fit</a>
47994802
the <a>grid area</a>’s size
48004803
<ins>(so as to prevent the <a>automatic minimum size</a> from forcing overflow of its fixed-size grid area)</ins>.</p>
@@ -4810,9 +4813,9 @@ Significant Adjustments and Fixes</h4>
48104813
imposed on <a>flex items</a>.)
48114814
[[!CSS-FLEXBOX-1]]</del></p>
48124815
<p><ins>The <a>automatic minimum size</a> for a <a>grid item</a> in a given dimension is
4813-
its <a spec="css-flexbox">specified size</a> if it exists,
4814-
otherwise its <a spec="css-flexbox">transferred size</a> if that exists,
4815-
else its <a spec="css-flexbox">content size</a>,
4816+
its specified size if it exists,
4817+
otherwise its transferred size if that exists,
4818+
else its content size,
48164819
each as defined in [[!CSS-FLEXBOX-1]].</ins>
48174820
However, if the <a>grid item</a> spans only <a>grid tracks</a>
48184821
that have a <a lt="fixed sizing function">fixed</a> <a>max track sizing function</a>

0 commit comments

Comments
 (0)