Re: [csswg-drafts] [css-flexbox-1 ] What the meaning of the “definite used” (#13054)

Thanks for reply,I spend more time on reading specification.Now I have some questions about "definite" and "used value"

Questions:
1. Is ["absolute theoretical value"](https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/#used) same as ["definite"](https://www.w3.org/TR/2021/WD-css-sizing-3-20211217/#definite)?
2. How transform computed value to used value?

example A in [CSS-CASCADE]
>For example, a declaration of ['width: auto'](https://www.w3.org/TR/css-sizing-3/#propdef-width) can’t be resolved into a length without knowing the layout of the element’s ancestors, so the [computed value](https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/#computed-value) is ['auto'](https://www.w3.org/TR/css-align-3/#valdef-justify-self-auto), while the [used value](https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/#used-value) is an absolute length, such as '100px'. [[CSS2]](https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/#biblio-css2)

example B in [CSS-FLEXBOX] 
> For example, percentage values of ['flex-basis'](https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/#propdef-flex-basis) are resolved against the flex item’s containing block (i.e. its [flex container](https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/#flex-container)); and if that containing block’s size is [indefinite](https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/#definite), the used value for ['flex-basis'](https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/#propdef-flex-basis) is ['content'](https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/#valdef-flex-basis-content).

Example A says absolutizing 'auto' computed value,but example B says not absolutizing 'content' computed value.We have “Computed Value” line of the property definition table to define how to compute the computed value.Is there a same thing to define how to get used value?


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


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

Received on Tuesday, 4 November 2025 04:53:49 UTC