Issue with Flex Validation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue with Flex Validation

Jack Lukic
I've noticed that the following CSS


.foo {
  flex: 0 1 auto;
}

passed to the CSS validator at https://jigsaw.w3.org/css-validator/ produces the error

auto is not a flex-flow value : 0 1 auto


My understanding of the flex shorthand property from the w3c spec is that it represents three possible values, flex-grow, flex-shrink, flex-basis. 

So I'm confused why an error message is produced about flex-flow. Does anyone have any insight into this?

Regards,
Jack