[css-grid] Definition of fit-content() uses min()/max() wrong #4789
Labels
Closed Accepted as Obvious Bugfix
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-grid-1
In https://drafts.csswg.org/css-grid/#valdef-grid-template-columns-fit-content, the formula is stated as:
This is not how you clamp a value between a min and max; instead, it ensures that the result is outside of the min-max range. Need to swap the use of min() and max() there, or switch to a clamp() notation now that that's well-defined.
The text was updated successfully, but these errors were encountered: