Skip to content

Commit feb7190

Browse files
committed
[css-grid] Distinguish no track preference vs empty preferred tracks. w3c#3648
1 parent bb58d19 commit feb7190

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

css-grid-1/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4336,8 +4336,10 @@ Distributing Extra Space Across Spanned Tracks</h4>
43364336
to accommodate specific intrinsic size contributions (the |size contribution|s)
43374337
of a set of grid items spanning those tracks (the |item|s),
43384338
potentially preferring a subset of those tracks
4339-
(the optional |preferred track|s,
4340-
defaulting to all |affected track|s):
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):
43414343

43424344
<ol>
43434345
<li>
@@ -4402,7 +4404,7 @@ Distributing Extra Space Across Spanned Tracks</h4>
44024404

44034405
If extra |space| remains at this point,
44044406
unfreeze the |preferred track|s (if any)
4405-
or else the |affected track|s (if not),
4407+
or else the |affected track|s (if there was no |track preference|),
44064408
then continue to distribute |space| to the |item-incurred increase| of…
44074409

44084410
<ul>

css-grid-2/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5011,8 +5011,10 @@ Distributing Extra Space Across Spanned Tracks</h4>
50115011
to accommodate specific intrinsic size contributions (the |size contribution|s)
50125012
of a set of grid items spanning those tracks (the |item|s),
50135013
potentially preferring a subset of those tracks
5014-
(the optional |preferred track|s,
5015-
defaulting to all |affected track|s):
5014+
(the optional |preferred track|s);
5015+
defaulting to all |affected tracks|
5016+
if there is no |track preference|--
5017+
as distinct from an empty list of |preferred track|s):
50165018

50175019
<ol>
50185020
<li>
@@ -5077,7 +5079,7 @@ Distributing Extra Space Across Spanned Tracks</h4>
50775079

50785080
If extra |space| remains at this point,
50795081
unfreeze the |preferred track|s (if any)
5080-
or else the |affected track|s (if not),
5082+
or else the |affected track|s (if there was no |track preference|),
50815083
then continue to distribute |space| to the |item-incurred increase| of…
50825084

50835085
<ul>

0 commit comments

Comments
 (0)