Re: [csswg-drafts] [css-grid] Decide on a name for `item-slack` (#10884)

The CSS Working Group just discussed ``[css-grid] Decide on a name for `item-slack` ``, and agreed to the following:

* `SUMMARY: Contemplate replacing 'item-' with 'flow-'`
* `RESOLVED: rename item-slack to item-tolerance ... for now.`

<details><summary>The full IRC log of that discussion</summary>
&lt;kbabbitt> oriol: we have this property item-slack<br>
&lt;kbabbitt> ... what it does is allow diverging from sorting items into shortest track<br>
&lt;kbabbitt> .. with tracks filled to a similar amount it allows following source order instead of shortest<br>
&lt;kbabbitt> .. value of 0 means strictly shortest track<br>
&lt;kbabbitt> ... value of infinity means strictly source order<br>
&lt;kbabbitt> ... this is named 'item-slack' in spec<br>
&lt;kbabbitt> ... but we didn't resolve on that name<br>
&lt;kbabbitt> ... not fond of "slack" as non-native Engish speaker<br>
&lt;kbabbitt> ... there were also some other ideas like strictness, or ??<br>
&lt;kbabbitt> ... they seem to imply a higher value will implyu more strictness<br>
&lt;kbabbitt> ... where it's the opposite<br>
&lt;astearns> s/??/sensitivity/<br>
&lt;kbabbitt> ... other ideas were threshold, adjust, skip<br>
&lt;kbabbitt> ... I propose 'tolerance'<br>
&lt;kbabbitt> ... which some people were recommending recently<br>
&lt;bkardell> s/implyu/imply<br>
&lt;dbaron> We can always change the property values to match the name.<br>
&lt;kbabbitt> ... when I proposed this it was with masonry prefix<br>
&lt;kbabbitt> ... now that it could be item tolerance, could be more confusing of how you're adding tolerance<br>
&lt;kbabbitt> ... astearns proposed 'item-fit'<br>
&lt;kbabbitt> ... someone also suggested "cram"<br>
&lt;jensimmons> q+<br>
&lt;kbabbitt> ... but people liked the word tolerance<br>
&lt;kbabbitt> fantasai: cram doesn't work for all the cases we're talking about<br>
&lt;kbabbitt> TabAtkins: can't imply squeezing or stretching<br>
&lt;kbabbitt> ... can be used for either<br>
&lt;astearns> ack jensimmons<br>
&lt;fantasai> florian: "fuzz"?<br>
&lt;kbabbitt> jensimmons: let's rename it<br>
&lt;kbabbitt> ... I like tolerance too<br>
&lt;TabAtkins> I'm okay with 'tolerance'<br>
&lt;kbabbitt> ... it is true that it is confusing by itself<br>
&lt;kbabbitt> ... item-fit-tolerance is good but long<br>
&lt;TabAtkins> i don't super like any of the shorter words than tolerance<br>
&lt;kbabbitt> ... would be all for replacing slack with fit-tolerance<br>
&lt;kbabbitt> TabAtkins: also a fan of tolerance<br>
&lt;kbabbitt> astearns: everyone ok with adding 'fit'?<br>
&lt;kbabbitt> fantasai: don't love it but don't have better suggestion<br>
&lt;kbabbitt> astearns: we're not tolerating the item<br>
&lt;kbabbitt> TabAtkins: all the item properties are about placing item, so item-tolerance would also be about placing the item<br>
&lt;kbabbitt> ... think it already suggests roughly what we're aiming at<br>
&lt;kizu> +1 to tolerance as well<br>
&lt;kbabbitt> astearns: item-fit-tolerance was my best name<br>
&lt;kbabbitt> TabAtkins: I'm always looking out for property name lengths<br>
&lt;kbabbitt> dholbert: item-fit reminds me of object-fit which is unrelated<br>
&lt;kbabbitt> ... that slight overlap is confusing<br>
&lt;kbabbitt> dbaron: don't reject names because they don't go with values<br>
&lt;kbabbitt> ... can always change values to go with names<br>
&lt;kbabbitt> TabAtkins: here the values are lengths not keywords<br>
&lt;kbabbitt> fantasai: what if we rename item-flow to flow<br>
&lt;kbabbitt> ... then it would be flow-tolerance, flow-direction, ...<br>
&lt;kbabbitt> TabAtkins: doesn't that land us against flow layout module that describes block?<br>
&lt;ethanjv> I like flow<br>
&lt;kbabbitt> fantasai: besides display keyword is awkward<br>
&lt;kbabbitt> ... otherwise work really well<br>
&lt;ethanjv> https://drafts.csswg.org/css-grid-3/#flow-control<br>
&lt;kbabbitt> TabAtkins: can we look at item properties real quick?<br>
&lt;kbabbitt> fantasai: replace 'item' prefix with 'flow'<br>
&lt;kbabbitt> ... then 'item-flow' becomes 'flow'<br>
&lt;kbabbitt> TabAtkins: means we can't have a shorthand<br>
&lt;kbabbitt> fantasai: item-flow -> flow is the shorthand<br>
&lt;kbabbitt> kbabbitt: "flow-pack"?<br>
&lt;kbabbitt> fantasai: yes<br>
&lt;kbabbitt> astearns: don't want to resolve on this change right away<br>
&lt;kbabbitt> astearns: Proposed: rename item-slack to item-tolerance<br>
&lt;fantasai> SUMMARY: Contemplate replacing 'item-' with 'flow-'<br>
&lt;kbabbitt> bkardell: it's very difficult for people looking in to understand stability of our decisions<br>
&lt;kbabbitt> ... we should say, as a currently best working answer but probably to be re-bikeshedded later<br>
&lt;kbabbitt> astearns: that applies to all our resolutions<br>
&lt;kbabbitt> bkardell: should be more specific here since it's being cited in intents to ship<br>
&lt;oriol> Hard to hear Brian<br>
&lt;kbabbitt> TabAtkins: this one is pretty explicitly tentative<br>
&lt;kbabbitt> bkardell: can we put the word tenative in the resolution?<br>
&lt;kbabbitt> florian: all our decisions can be revisited, when we know they will be, dont print your book yet<br>
&lt;kbabbitt> astearns: Proposed: rename item-slack to item-tolerance ... for now.<br>
&lt;kbabbitt> astearns: objections?<br>
&lt;kbabbitt> RESOLVED: rename item-slack to item-tolerance ... for now.<br>
&lt;kurt> The spec uses the word "threshold" - The item-slack property specifies what the threshold is for considering tracks to be “the same height”, causing them to fill in order.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10884#issuecomment-2773675152 using your GitHub account


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

Received on Wednesday, 2 April 2025 20:36:11 UTC