Firs, it's unitless. I've seen a hack where the value is being specified as '1;' to make it pass the isNaN check and skip our adding of 'px'.
Further, flex is actually a shorthand property, so we should support the expansion into the right properties.