- From: DavidJCobb via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Apr 2025 05:24:14 +0000
- To: public-css-archive@w3.org
The name definitely needs to at least imply that the property pertains to how items are fit into the layout -- specifically, the concept of "fitting" a thing in. Things like "placement" don't, and absent any other qualifiers, words like "tolerance" and "threshold" are way too vague. (What is it the threshold *of*?) As far as the two-word suggestions go, `item-fit-tolerance` is the closest to being good. The word "slack" conveys looseness, whereas it seems like higher values would cause items to be fit into the layout in more tightly compressed arrangements. So "more slack" leads to a tighter, not looser, fit? Seems backwards. [WebKit's explainer](https://webkit.org/blog/16587/item-flow-part-1-a-new-unified-concept-for-layout/) describes the property as inviting the browser to "cram" extra items into tight spaces. Maybe `item-cram` or `item-cram-tolerance`? The word "cram" isn't super formal, but it well conveys the idea of squeezing things into too tight a space for them to fit comfortably. The word "fit" is less specific about this. I do sort of think that mentioning "tolerance" is good to distinguish this from e.g. a per-item or overall "limit" on how things can be crammed (and it leaves room to actually add a "limit" property in the future if that's ever deemed a good idea). -- GitHub Notification of comment by DavidJCobb Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10884#issuecomment-2768132181 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 April 2025 05:24:15 UTC