Accept "auto" as a value, thanks to @shaunbent