Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 4.5.2012 23:17, Ian Hickson wrote: On Fri, 27 Jan 2012, Bronislav Klu�~Mka wrote: we are currently discussing localization in form fields, but that may result in some unfortunate behavior if implemented alone, because data will be displayed in localized representation in form fields but

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Benjamin Hawkes-Lewis
2/ FormatSettings object [Constructor(),  Constructor(DOMString locale),  Constructor(FormatSettings locale), ] interface FormatSettings {    attribute DOMString CurrencyString;    attribute Number CurrencyFormat;    attribute Number CurrencyDecimals;    attribute DOMString

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Benjamin Hawkes-Lewis
On Mon, May 7, 2012 at 9:32 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: I can see you are pushing for CSS because of presentation level, but 1/ you need to display currency or number, what would you do? span style=format-type: number; format-decimal-separator: ',';123.22/span

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 12:09, Benjamin Hawkes-Lewis wrote: 2/ FormatSettings object [Constructor(), Constructor(DOMString locale), Constructor(FormatSettings locale), ] interface FormatSettings { attribute DOMString CurrencyString; attribute Number CurrencyFormat; attribute Number

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 12:11, Benjamin Hawkes-Lewis wrote: On Mon, May 7, 2012 at 9:32 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: I can see you are pushing for CSS because of presentation level, but 1/ you need to display currency or number, what would you do? span style=format-type:

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 12:09, Benjamin Hawkes-Lewis wrote: Are you talking specifically about conversion of form values between an over-the-wire format and a localized display format? -- Benjamin Hawkes-Lewis No, I'm talking about just client side processing / diplaying. What I want is new abilities

[whatwg] Localisation of form fields

2012-05-04 Thread Ian Hickson
On Thu, 12 Jan 2012, Schalk Neethling wrote: Is there a way to specify the locale input type=daye should use or does it simply use the current locale? If so, does it choose the server locale or the user locale? It should use the user's locale for input (as determined by the user agent),

Re: [whatwg] Localisation of form fields

2012-01-23 Thread Markus Ernst
Am 21.01.2012 15:19 schrieb Cameron Heavon-Jones: On 20/01/2012, at 6:58 PM, Bronislav Klučka wrote: Hello There are two recent threads on localisation of form fields, one on input type=date, the other on the Decimal comma in numeric input. Both are about the question whether the form

Re: [whatwg] Localisation of form fields

2012-01-21 Thread Cameron Heavon-Jones
On 20/01/2012, at 6:58 PM, Bronislav Klučka wrote: Hello There are two recent threads on localisation of form fields, one on input type=date, the other on the Decimal comma in numeric input. Both are about the question whether the form field value should be displayed according to the

[whatwg] Localisation of form fields

2012-01-20 Thread Markus Ernst
Hello There are two recent threads on localisation of form fields, one on input type=date, the other on the Decimal comma in numeric input. Both are about the question whether the form field value should be displayed according to the element's language, or rather based on the user's

Re: [whatwg] Localisation of form fields

2012-01-20 Thread Cameron Heavon-Jones
On 20/01/2012, at 3:56 PM, Markus Ernst wrote: Hello There are two recent threads on localisation of form fields, one on input type=date, the other on the Decimal comma in numeric input. Both are about the question whether the form field value should be displayed according to the

Re: [whatwg] Localisation of form fields

2012-01-20 Thread Bronislav Klučka
Hello There are two recent threads on localisation of form fields, one on input type=date, the other on the Decimal comma in numeric input. Both are about the question whether the form field value should be displayed according to the element's language, or rather based on the user's