Validate styles