resolves #241: treat number input fields separately, because Chrome does...

...n't support selectionStart and selectionEnd for them any longer