Re: [csswg-drafts] [css-flexbox-1] "flex" initial value seems to be coontradictory to "flex-grow" and "flex-shrink" (#6639)

you can find a note later in that section:

> The initial values of the flex components are equivalent to flex: 0 1 auto.
> 
> Note: The initial values of flex-grow and flex-basis are different from their defaults when omitted in the flex shorthand. This is so that the flex shorthand can better accommodate the most common cases.

so it's intentional that the value of `flex-grow` resolves to 0 if you use `flex` shorthand without overriding `flex-grow`.

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


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

Received on Saturday, 18 September 2021 08:43:38 UTC