Re: [csswg-drafts] [css-grid] Unclear how to limit track growth by fit-content() argument (#4549)

@Loirooriol OK, Proposed fix:

```
diff --git a/css-grid-1/Overview.bs b/css-grid-1/Overview.bs
index ff3b12ef8..5fffa1b73 100644
--- a/css-grid-1/Overview.bs
+++ b/css-grid-1/Overview.bs
@@ -4263,8 +4263,6 @@ Resolve Intrinsic Track Sizes</h3>
 a <a>max track sizing function</a> of ''max-content''
 by [[#extra-space|distributing extra space]] as needed
 to account for these items' <a>max-content contributions</a>.
-However, limit the growth of any ''fit-content()'' tracks
-by their ''fit-content()'' argument.
 </ol>
 
 Repeat incrementally for items with greater spans until all items have been considered.
@@ -4341,7 +4339,9 @@ Distributing Extra Space Across Spanned Tracks</h4>
 For [=base sizes=],
 the |limit| is its [=growth limit=].
 For [=growth limits=],
-the |limit| is infinity if it is marked as [=infinitely growable=],
+the |limit| is
+the ''fit-content()'' argument if has a ''fit-content()'' [=track sizing function=],
+infinity if it is marked as [=infinitely growable=],
 and equal to the [=growth limit=] otherwise.
 
 Note: If the affected size was a <a>growth limit</a>
@@ -4351,7 +4351,8 @@ Distributing Extra Space Across Spanned Tracks</h4>
 <li>
 <strong>Distribute space beyond limits:</strong>
 If space remains after all tracks are frozen,
-unfreeze and continue to distribute space to the |item-incurred increase| of…
+unfreeze and continue to distribute space
+to the unfrozen |item-incurred increase| of…
 
 <ul>
 <li>
@@ -4372,7 +4373,7 @@ Distributing Extra Space Across Spanned Tracks</h4>
 the [=max track sizing function=] of a ''fit-content()'' track
 is treated as ''max-content''
 until it reaches the limit specified as the ''fit-content()'' argument,
-after which it is treated as having a <a>fixed sizing function</a> of that argument.
+after which it is frozen at that [=fixed sizing function=].
 
 Note: This step prioritizes the distribution of space
```

Let us know if this seems correct?

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4549#issuecomment-863592852 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 17 June 2021 22:05:34 UTC