Last modified: 2013-05-21 21:11:51 UTC
Created attachment 12366 [details] screenshot of the year field in contributions This is a known upstream issue in Safari (specifically 5.1.x) and some versions of Chrome. Not sure if it warrants workarounds at our side. https://bugs.webkit.org/show_bug.cgi?id=62939 https://bugs.webkit.org/show_bug.cgi?id=93236
Current versions of Safari (6.0.4) and Chrome (26.0.1410.65) do not exhibit this bug. On the buggy version, does the comma end up in the submitted value or is it a display issue only? If a display issue only I wouldn't bother; it'll only affect people running a previous version of Mac OS X or failing to install updates.
I tested with url http://jsfiddle.net/gsAGZ/embedded/result/ http://jsfiddle.net/gsAGZ/ > -- HTML > <input type=number value=5000> > <pre>--</pre> > -- JS > $('input').on('change blur click', function () { > $('pre').text(this.value); > }); In Chrome 26, type=number is supported and displayed and submitted without any separators. In Safari 4.0 (Mac OS X Snow Leopard, BrowserStack), input=number is not supported and is treated like a regular text input. In Safari 5.0 (Mac OS X Snow Leopard, BrowserStack), input=number is supported and is displayed and submitted without any separators. In Safari 5.1 (Mac OS X Snow Leopard, BrowserStack), input=number is supported and is displayed with separators and submitted without any separators.
Created attachment 12367 [details] Screenshot of Safari 5.1