[csswg-drafts] [css-flexbox-1] Section 9.7(3) – Remove redundant criterion (#12021)

gitspeaks has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-flexbox-1] Section 9.7(3) – Remove redundant criterion ==
The [spec](https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths) currently states:

> 3. Size inflexible items. Freeze, setting its target main size to its hypothetical main size…
> - any item that has a flex factor of zero  
> - if using the flex grow factor: any item that has a flex base size greater than its hypothetical main size  
> - if using the flex shrink factor: any item that has a flex base size smaller than its hypothetical main size

Proposal: Remove the line:
> "any item that has a flex factor of zero"

This condition is redundant and does not impact the algorithm’s logic or behavior. An item may have a `flex-grow` of 0 and a `flex-shrink` of ≥1 (or vice versa), but what actually matters in this step is whether the item will participate in growth or shrinkage based on the direction of the flexing and the relationship between its flex base size and its hypothetical main size.

The two remaining conditions already fully capture which items are inflexible in this context. The explicit mention of a flex factor of zero adds no operational value and may even be misleading.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12021 using your GitHub account


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

Received on Friday, 28 March 2025 18:27:39 UTC