Re: [csswg-drafts] [css-flexbox-1] Should 'justify-content' come after resolving flexible lengths? (#11406)

> CSS specs are descriptive, not algorithmic, so the order isn't usually relevant. The algorithmic part of CSS Flexbox that needs to be order and encompasses multiple sections is already numbered accordingly, from 1 (in §9.1) to 16 (in §9.6).

All of these steps are under Section 9, Flex Layout Algorithm, so the context is indeed a description of the Flexbox algorithm. Section 9.7 provides details for a specific part of the algorithm, and as you correctly pointed out, it is to be performed after Section 9.3. However, I see no compelling reason for Section 9.7 to be separated from the main sequence of steps. It acts as a kind of subroutine, which Section 9.3 refers to, but it is not referenced again in any subsequent steps. 
This separation is unnecessary and potentially confusing. I recommend integrating Section 9.7 into the flow by placing it directly after Section 9.3 (as Section 9.4)  which would make the sequence more intuitive.

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


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

Received on Tuesday, 24 December 2024 20:07:31 UTC