Precise input type=range check

This avoids clobbering `<input type="number">` controls which also have min/max/step attributes.

Tested as far back as IE8