I don't think this logic is correct. The CSS3 specification dictates that a size must have a unit, or a %. So, if the size is not a %, then it must have a unit, otherwise it's invalid.