Default for flex-shrink when flex-grow is 0 in the shorthand

Spec:
css3-flexbox
Owner:
tabatkins
Status:
Closed
Added:
2012-05-17
Action:
Approve the proposal?

Background

To address other issues, we changed the default for 'flex-shrink' from 0 to 1 during the F2F.

Problem Statement

The behavior of “flex: 0 <length>;” changes - it can now shrink, where before it couldn't.

Proposal(s)

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 initial values of flex, whose outcome may affect what's sensible here.

 
topics/css3-flexbox-default-shrink-when-grow-is-0.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki