ISSUE-136: Recognition of number formats in Number state
Recognition of number formats in Number state
- State:
- CLOSED
- Product:
- html
- Raised by:
- Richard Ishida
- Opened on:
- 2011-07-27
- Description:
- Follow in bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16165
4.10.7.1.13 Number state
http://www.w3.org/TR/html5/number-state.html#number-state
"The algorithm to convert a string to a number, given a string input, is as follows: If applying the rules for parsing floating point number values to input results in an error, then return an error; otherwise, return the resulting number."
Does this refer to conversion of the text the user inputs into the field, ie. if the user types in
12.345,67
will the rules for parsing floating point number values be applied to that to determine whether or not that is a valid number?
Or does this apply only to interpretation of the attribute value or the value passed to the value by the browser after interpretation of the user input? I assumed that this is the case, but it isn't clear.
I think a note would be useful, both here and for other states where formats vary around the world, to clarify this and btw to remind browser developers that the normal way of representing numbers differs around the world and they will should expect to have to convert the user input to the expected internal representation (but not change the user's input itself). - Related Actions Items:
- No related actions
- Related emails:
- Review of tracker issues for best practices (Part IV) (from addison@lab126.com on 2015-03-31)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2014-03-06)
- Re: [I18N-ACTION-150] Review of HTML open issues (from ishida@w3.org on 2014-02-21)
- [I18N-ACTION-150] Review of HTML open issues (from addison@lab126.com on 2014-02-18)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2013-02-15)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2013-02-01)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2013-02-01)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-21)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-11-20)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-09-28)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-09-18)
- [Bug 17918] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-07-18)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-07-18)
- [Bug 17918] New: i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-07-18)
- [Bug 16165] i18n-ISSUE-136: Recognition of number formats in Number state (from bugzilla@jessica.w3.org on 2012-02-29)
- [minutes] i18n telecon, 2012-02-29 (from ishida@w3.org on 2012-02-29)
- I18N-ISSUE-136: Recognition of number formats in Number state [HTML5-prep] (from sysbot+tracker@w3.org on 2011-07-27)
Related notes:
Note that the current link is:
http://www.w3.org/html/wg/drafts/html/master/single-page.html#number-state-%28type=number%29
Display change log