Support input type="number"

first off, Validity is great! Secondly, I noticed that it wasn't checking my inputs of type="number". Figured it help to get it committed back to core. :)