Skip to content

Commit 93b0393

Browse files
committed
[css-grid-1] Rephrase 'distribute extra space' opening to be more algorithmic for clarity. #3648
1 parent feb7190 commit 93b0393

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

css-grid-1/Overview.bs

+12-10
Original file line numberDiff line numberDiff line change
@@ -4330,16 +4330,18 @@ Resolve Intrinsic Track Sizes</h3>
43304330
Distributing Extra Space Across Spanned Tracks</h4>
43314331

43324332
<div algorithm>
4333-
To <dfn noexport>distribute extra space</dfn>
4334-
to the [=base sizes=] or [=growth limits=] (the |affected size|s)
4335-
of a set of tracks (the |affected track|s)
4336-
to accommodate specific intrinsic size contributions (the |size contribution|s)
4337-
of a set of grid items spanning those tracks (the |item|s),
4338-
potentially preferring a subset of those tracks
4339-
(the optional |preferred track|s);
4340-
defaulting to all |affected tracks|
4341-
if there is no |track preference|--
4342-
as distinct from an empty list of |preferred track|s):
4333+
To <dfn noexport>distribute extra space</dfn>,
4334+
perform the following steps,
4335+
with these inputs:
4336+
4337+
* whether to affect [=base sizes=] or [=growth limits=] (the |affected size|s).
4338+
* which tracks to affect (the |affected track|s).
4339+
* what intrinsic size contributions are being accommodated (the |size contribution|s)
4340+
of which grid items spanning those tracks (the |item|s).
4341+
* optionally, a preferred subset of the |affected tracks| (the |preferred track|s),
4342+
indicating a |track preference| (even if the subset is empty);
4343+
if no |track preference|,
4344+
the |preferred track|s default to all |affected track|s.
43434345

43444346
<ol>
43454347
<li>

0 commit comments

Comments
 (0)