The latest Safari for MacOS and the one that comes in iOS5 has some extra validation that causes problems if the text field is not a phone number.
Case: Input text f
I change type="number" to type="tel" and works fine. I did some quick testing and have not found any validation or auto-formatting of the text either.