-
Notifications
You must be signed in to change notification settings - Fork 711
[css-grid] Clarify "Automatic repetitions cannot be combined with intrinsic or flexible sizes" #7238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
…ly* intrinsic, but can have an intrinsic length (if paired with a fixed in minmax()). #7238
Okay, clarified the text slightly, and explicitly referred to the grammar for details on what it means. Let us know if this works? |
Maybe replace "flexible" with "intrinsic flexible"? Since |
No, "flexible" is covered by the "fully", same as "intrinsic", implying the same "at least one argument is fixed". |
Wouldn't "fully flexible" mean Basically, I don't see how "fully flexible" includes |
@Loirooriol In English, "or" is not necessarily exclusive. |
@fantasai Are you implying that |
No, it's fully "intrinsic or flexible". |
(The point of all this, tho, is that the text is purposely suggestive, not precise, and the grammar is the actual definition of the restriction.) |
Mm, OK, I see what you mean, seems a misleading wording to me but it defers to the grammar which is clear. |
https://drafts.csswg.org/css-grid/#repeat-syntax
Effectively, these are false:
However, these are true:
Tested in Blink, Gecko and WebKit.
So I guess the spec should make it clear that these combinations are fine. Basically, it seems the requirement is that for each track, at least one of the min/max track sizing functions should be fixed.
The text was updated successfully, but these errors were encountered: