-
Notifications
You must be signed in to change notification settings - Fork 673
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
[css-grid-1] Step 2.2 of Distribute Extra Space confusingly written for growth limits #5351
Comments
… it *does* have an effect on growth limits if they're infinitely growable. #5351
Actually this is incorrect, for infinitely-growable tracks this step does have an effect. The note is also wrong, therefore. Let's revise this again. :) |
Fixed in 776a1fd (linked above; Tab pushed our edits before I could post the comment) |
Final change is diff-marked in https://drafts.csswg.org/css-grid-1/#change-2017-distribute-space-readability and should be 100% editorial. @Loirooriol Mind checking to make sure we didn't screw anything up? :) |
I will review tomorrow, but my understanding was that if the affected size was a growth limit, then the item-incurred increase would be zero, even if the track was marked as infinitely growable. The infinitely growable flag would only matter when running the spanning algorithm with the next span amount, which distributes into base sizes again. |
OK, I had a misconception because this step wasn't right, so it's good that you fixed it :) |
Well, just a nit: step 2 is now called "Distribute space up to limits". Then step 3 should maybe be called "Distribute space beyond limits". |
@Loirooriol Good catch. :) Fixed. |
https://drafts.csswg.org/css-grid-1/
So this entire step effectively applies only to base sizes, not to growth limits, since all it does to growth limits is set them to zero. It would be nice if the editorial structure was clearer about this up front.
The text was updated successfully, but these errors were encountered: