Skip to content

Commit efe51d8

Browse files
committed
[css-grid] Remove problematic definition of 'available space'; link falls back to css-sizing
1 parent e12c781 commit efe51d8

2 files changed

Lines changed: 6 additions & 17 deletions

File tree

css-grid/Overview.bs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,10 +2664,6 @@ Track Sizing Terminology</h3>
26642664
this is the second argument to that function.
26652665
Otherwise, it's the track's sizing function.
26662666

2667-
<dt><dfn>available space</dfn>
2668-
<dd>
2669-
The <a>grid container</a>’s content box size in the applicable dimension.
2670-
26712667
<dt><dfn>free space</dfn>
26722668
<dd>
26732669
Equal to the <a>available space</a> minus the sum of the <a>base sizes</a> of all the grid tracks,

css-grid/Overview.html

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4949,8 +4949,8 @@ <h3 class="heading settled" data-level="11.1" id="algo-overview"><span class="se
49494949

49504950

49514951
<p>If calculating the layout of a <a data-link-type="dfn" href="#grid-item">grid item</a> in this step
4952-
depends on the <a data-link-type="dfn" href="#available-space">available space</a> in the <a data-link-type="dfn" href="#row-axis">row axis</a>,
4953-
assume the <a data-link-type="dfn" href="#available-space">available space</a> that it would have
4952+
depends on the <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#available">available space</a> in the <a data-link-type="dfn" href="#row-axis">row axis</a>,
4953+
assume the <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#available">available space</a> that it would have
49544954
if any row with a <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#definite">definite</a> <a data-link-type="dfn" href="#max-track-sizing-function">max track sizing function</a>
49554955
had that size and all other rows were infinite.</p>
49564956

@@ -5021,23 +5021,17 @@ <h3 class="heading settled" data-level="11.2" id="algo-terms"><span class="secno
50215021
this is the second argument to that function.
50225022
Otherwise, it’s the track’s sizing function.
50235023

5024-
</dd>
5025-
<dt><dfn data-dfn-type="dfn" data-noexport="" id="available-space">available space<a class="self-link" href="#available-space"></a></dfn>
5026-
</dt>
5027-
<dd>
5028-
The <a data-link-type="dfn" href="#grid-container">grid container</a>’s content box size in the applicable dimension.
5029-
50305024
</dd>
50315025
<dt><dfn data-dfn-type="dfn" data-noexport="" id="free-space">free space<a class="self-link" href="#free-space"></a></dfn>
50325026
</dt>
50335027
<dd>
5034-
Equal to the <a data-link-type="dfn" href="#available-space">available space</a> minus the sum of the <a data-link-type="dfn" href="#base-size">base sizes</a> of all the grid tracks,
5028+
Equal to the <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#available">available space</a> minus the sum of the <a data-link-type="dfn" href="#base-size">base sizes</a> of all the grid tracks,
50355029
clamped to a minimum of zero.
50365030
This value can change over the course of the algorithm,
50375031
as <a data-link-type="dfn" href="#base-size">base sizes</a> are adjusted.
50385032

50395033

5040-
<p>If <a data-link-type="dfn" href="#available-space">available space</a> is <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#indefinite">indefinite</a>,
5034+
<p>If <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#available">available space</a> is <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#indefinite">indefinite</a>,
50415035
the <a data-link-type="dfn" href="#free-space">free space</a> is <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#indefinite">indefinite</a> as well.</p>
50425036

50435037

@@ -5397,7 +5391,7 @@ <h3 class="heading settled" data-level="11.7" id="algo-flex-tracks"><span class=
53975391

53985392
<p>This step sizes flexible tracks
53995393
using the largest value it can assign to an <span class="css">fr</span>
5400-
without exceeding the <a data-link-type="dfn" href="#available-space">available space</a>.</p>
5394+
without exceeding the <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#available">available space</a>.</p>
54015395

54025396

54035397

@@ -5418,7 +5412,7 @@ <h3 class="heading settled" data-level="11.7" id="algo-flex-tracks"><span class=
54185412
The used <a data-link-type="dfn" href="#flex-fraction">flex fraction</a> is the result of
54195413
<a href="#algo-find-fr-size">finding the size of an fr</a>
54205414
using all of the <a data-link-type="dfn" href="#grid-track">grid tracks</a>
5421-
and a <a data-link-type="dfn" href="#space-to-fill">space to fill</a> of the <a data-link-type="dfn" href="#available-space">available space</a>.
5415+
and a <a data-link-type="dfn" href="#space-to-fill">space to fill</a> of the <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#available">available space</a>.
54225416

54235417
</dd>
54245418
<dt>If the <a data-link-type="dfn" href="#free-space">free space</a> is an <a data-link-type="dfn" href="http://dev.w3.org/csswg/css-sizing-3/#indefinite">indefinite</a> length:
@@ -6118,7 +6112,6 @@ <h2 class="no-num heading settled" id="index"><span class="content">Index</span>
61186112
<li>auto-placement, <a href="#auto-placement" title="section 6.2">6.2</a></li>
61196113
<li>auto-placement algorithm, <a href="#grid-item-placement-algorithm" title="section 9.5">9.5</a></li>
61206114
<li>auto-placement cursor, <a href="#auto-placement-cursor" title="section 9.5">9.5</a></li>
6121-
<li>available space, <a href="#available-space" title="section 11.2">11.2</a></li>
61226115
<li>base size, <a href="#base-size" title="section 11.3">11.3</a></li>
61236116
<li>column
61246117
<ul>

0 commit comments

Comments
 (0)