Precise input type=range check

This avoids clobbering <input type="number"> controls which also have the
min/max/step values.

Tested as far back as IE8