Skip to content

Commit c7113b6

Browse files
committed
[css-grid] Slightly reword the definition of 'available space'.
--HG-- extra : rebase_source : 3055bb4a7d43f6e0bca39e715aae9f064bd3b56b
1 parent fec1b8d commit c7113b6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

css-grid/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,11 +3022,11 @@ Definition of Terms for use in Calculating Grid Track Sizes</h3>
30223022

30233023
<dt><dfn>remaining space</dfn>
30243024
<dd>
3025-
Equal to the <a>available space</a> minus the sum of the <a>base sizes</a> of all the grid tracks.
3025+
Equal to the <a>available space</a> minus the sum of the <a>base sizes</a> of all the grid tracks
3026+
or zero,
3027+
whichever is greater.
30263028
This value can change over the course of the algorithm,
30273029
as <a>base sizes</a> are adjusted.
3028-
If the sum of the <a>base sizes</a> is greater than the <a>available space</a>,
3029-
the <a>remaining space</a> is instead zero.
30303030

30313031
If <a>available space</a> is <a>indefinite</a>,
30323032
the <a>remaining space</a> is <a>indefinite</a> as well.

css-grid/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2996,11 +2996,11 @@ <h3 class="heading settled heading" data-level=11.1 id=algo-terms><span class=se
29962996

29972997
<dt><dfn data-dfn-type=dfn data-noexport="" id=remaining-space>remaining space<a class=self-link href=#remaining-space></a></dfn>
29982998
<dd>
2999-
Equal to the <a data-link-type=dfn href=#available-space title="available space">available space</a> minus the sum of the <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> of all the grid tracks.
2999+
Equal to the <a data-link-type=dfn href=#available-space title="available space">available space</a> minus the sum of the <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> of all the grid tracks
3000+
or zero,
3001+
whichever is greater.
30003002
This value can change over the course of the algorithm,
30013003
as <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> are adjusted.
3002-
If the sum of the <a data-link-type=dfn href=#base-size title="base sizes">base sizes</a> is greater than the <a data-link-type=dfn href=#available-space title="available space">available space</a>,
3003-
the <a data-link-type=dfn href=#remaining-space title="remaining space">remaining space</a> is instead zero.
30043004

30053005
<p> If <a data-link-type=dfn href=#available-space title="available space">available space</a> is <a data-link-type=dfn href=http://dev.w3.org/csswg/css-sizing-3/#indefinite title=indefinite>indefinite</a>,
30063006
the <a data-link-type=dfn href=#remaining-space title="remaining space">remaining space</a> is <a data-link-type=dfn href=http://dev.w3.org/csswg/css-sizing-3/#indefinite title=indefinite>indefinite</a> as well.

0 commit comments

Comments
 (0)