Last modified: 2013-05-21 21:11:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50692, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48692 - input fields with type=number get thousands separator in Safari 5.1
input fields with type=number get thousands separator in Safari 5.1
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
HTMLForm (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://bugs.webkit.org/show_bug.cgi?...
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-21 19:49 UTC by Derk-Jan Hartman
Modified: 2013-05-21 21:11 UTC (History)
1 user (show)

See Also:
Web browser: Apple Safari
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot of the year field in contributions (54.53 KB, image/png)
2013-05-21 19:49 UTC, Derk-Jan Hartman
Details
Screenshot of Safari 5.1 (55.07 KB, image/png)
2013-05-21 21:11 UTC, Krinkle
Details

Description Derk-Jan Hartman 2013-05-21 19:49:23 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
Comment 1 Brion Vibber 2013-05-21 20:44:40 UTC
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.
Comment 2 Krinkle 2013-05-21 21:11:20 UTC
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.
Comment 3 Krinkle 2013-05-21 21:11:51 UTC
Created attachment 12367 [details]
Screenshot of Safari 5.1

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links