Re: [csswg-drafts] [css-flexbox-1] 9.2. Line Length Determination Issue (#11392)

> It's not incorrect. It's just that the definition of width in CSS Sizing supersedes the one from CSS2.

I disagree. In the context of this issue (e.g *published version*), the provided **link** for `width` in [7.2.3](https://www.w3.org/TR/css-flexbox-1/#flex-basis-property) is incorrect.

I initially asked:


> 1. It is unclear what constitutes a **"used flex basis value that depends on its available space"**, as none seem relevant in this context aside from the value `content`.

You replied:


> There are things like `fit-content` and `stretch`.

To which I responded:

> The specification for [flex-basis](https://www.w3.org/TR/css-flexbox-1/#flex-basis-property) lists its possible values as `'content | <'width'>` with an initial value of `auto`. The link for [<'width'>](https://www.w3.org/TR/CSS21/visudet.html#propdef-width) which directs to the CSS 2.1 specification defines the valid values as:
> `<length> | <percentage> | auto | inherit`.


Given this, how can one interpret "used flex basis value that depends on its available space" as anything other than `content` without prior knowledge that `fit-content` and `stretch` are relevant values?

Possible solutions:

1) Update the link to point to a more current and relevant definition of `width`.

2) Explicitly include `fit-content` and `stretch` in the list of valid flex-basis values.

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


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

Received on Saturday, 4 January 2025 12:35:36 UTC