jzaefferer/jquery-validation — pull request #1092 by jamierytlewski (2014-04-25 16:01:06+00:00)
Title: Fixing issues #922 and #858

This fixes the issues with having a type="number" and using the class of digits and number. Thanks to @alfonsomartinde for realizing the type="number" goes to blank. Upon further review, the spec also now contains a ValidityState http://www.whatwg.org/specs/web-apps/current-work/#validitystate

I am using .badInput instead of .valid as when you would exceed the range attribute, the .rangeOverFlow or .rangeUnderFlow would trigger. This way the proper error message gets sent from jQuery-validation of over or under the number. I have tested this on IE9-IE11 and the newest Chrome/Safari/Firefox.

I included a new test file named number.html as I could not use the test.js that was created. The reason being is that if you try to go

```

```

The input box shows blank and there are no values and the validity shows that it is valid.