The rules for parsing floating point number values [2.4.4.5] apply to the input element in number state as well. This is not good. People who fill forms tend to input numbers with the keypad --- that is what the keypad is for --- and the keypad keyboard layout follows the local conventions and not the HTML specification (of course). For example, it is not possible to get a full stop using the keypad, as required by step 12, as the keypad has a comma instead. I suggest that a comma should be treated as a decimal point by step 12. I also suggest that true MINUS SIGN should be treated the same as HYPHEN MINUS by step 8. This applies to the rules for parsing integers [2.4.4.2] also, and the use case is pasting existing content. Otherwise, existing content containing negative numbers would have to be worse than it could be in order that it could be pasted into HTML forms. Of course, these extensions should apply to input elements [4.10.4.1.13] only. Since they are pure extensions, they should not introduce any incompatibilities with what is already deployed. Cheers, Chris
- Re: [whatwg] Annotating structured data that H... Philip Taylor
- Re: [whatwg] Annotating structured data th... Shelley Powers
- Re: [whatwg] Annotating structured data that H... Tab Atkins Jr.
- Re: [whatwg] Annotating structured data th... Eduard Pascual
- Re: [whatwg] Annotating structured data that HTML h... Jonas Sicking
- Re: [whatwg] Annotating structured data that H... Jonas Sicking
- Re: [whatwg] Annotating structured data th... Ian Hickson
- Re: [whatwg] Annotating structured dat... Jonas Sicking
- Re: [whatwg] Annotating structured... Kristof Zelechovski
- Re: [whatwg] Annotating struc... Ian Hickson
- [whatwg] Localised number... Křištof Želechovski
- Re: [whatwg] Localised nu... Smylers
- Re: [whatwg] Annotating structured... Ian Hickson
- Re: [whatwg] Annotating structured dat... Kristof Zelechovski
- Re: [whatwg] Annotating structured dat... Frank Hellenkamp
- Re: [whatwg] Annotating structured... Ian Hickson
- Re: [whatwg] Annotating structured data that HTML h... Leif Halvard Silli
- Re: [whatwg] Annotating structured data that H... Toby Inkster
- [whatwg] Annotating structured data that HTML has n... Leif Halvard Silli
- Re: [whatwg] Annotating structured data that H... Tab Atkins Jr.
- Re: [whatwg] Annotating structured data th... Leif Halvard Silli
