HTML5 compatible min and max attribute aware integer, date, datetime and datetimelocal fields