combined style property value and unit validation. refactored value type classes into re-usable helpers for performance.