Re: [csswg-drafts] [css-grid] Distribute extra space into non-intrinsic tracks instead of going beyond growth limits (#3648)

Upon reviewing other edits, we realized this was done slightly incorrectly - the "distribute beyond limits" part was meant to only distribute to preferred tracks *when the alg is invoked with preferred tracks*, but we accidentally wrote it to care about whether there *are* any preferred tracks. That is, passing a set of preferred tracks that happens to be empty will be treated the same as not passing preferred tracks at all; both will cause the distribution algo to go beyond limits for *all* affected tracks, which is not what we want. (If we try to pass preferred tracks, and there happen to not be any, it simply shouldn't distribute any space beyond limits.)

So we're still working on the wording a little, but we've fixed up the language to be more explicit about distinguishing between "didn't pass that argument" and "passed the argument, even if it's an empty list".

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


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

Received on Thursday, 3 March 2022 23:57:14 UTC