[Webkit-unassigned] [Bug 42484] <input type=number> should show and accept localized numbers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 27 16:07:30 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=42484





--- Comment #7 from Kent Tamura <tkent at chromium.org>  2011-01-27 16:07:30 PST ---
(In reply to comment #5)
> > We should accept localized number representations and convert them to an HTML5 number for form submission.
> 
> Is that mandated by HTML5? The bug needs to explain where this "should" comes from. <http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values> in particular is not localization aware.

It's not mandatory.

I should have added more words to ChangeLog.  This change is only for UI.  HTML parsing and DOM property access are not affected.

I saw several requests for localized numbers for <input type=number>, I haven't seen any objections, and I believe we should support them.

> > I'm not sure how to use new ICU headers in Mac.  Why we have Source/WebCore/icu/?
> 
> ICU is not an officially supported API on Mac OS X, so ICU headers aren't shipped with it. When really needed, we copy an appropriate version of a particular ICU header to our repository. I'm not sure if this is one of those cases, or we should just use CFNumberFormatter API.

CFNumberFormatter looks enough.  Thank you.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list