-
Notifications
You must be signed in to change notification settings - Fork 772
topics css3 flexbox default shrink when grow is 0
Keith Cirkel edited this page Feb 13, 2026
·
1 revision
Spec_tags : css3-flexbox
Owner_tags : tabatkins
Status_tags : Closed
Added_dt : 2012-05-17
Action : Approve the proposal?
Issue_urls :
Proposal_urls :
To address other issues, we changed the default for 'flex-shrink' from 0 to 1 during the F2F.
The behavior of "flex: 0 ;" changes - it can now shrink, where before it couldn't.
Proposal A: flex-shrink always gets reset to 1, even if flex-grow is 0. Proposal B: Make an omitted flex-shrink default to 0 if the flex-grow is given as 0 in the flex shorthand.
This issue ties in with the flex-initial-value, whose outcome may affect what's sensible here.