Re: [whatwg] Proposal for showing thousand separator in form controls.

2015-10-15 Thread Михаил Гаврилов
I'm afraid that we have never agreed until someone misused .

Let's first decide what numbers is meant by number type.
If our answer would be: https://en.wikipedia.org/wiki/Rational_number
The years is the smallest part of all the numbers.
Anyway always can use  for them.

Also a special case is the number of a credit card and any number with
leading zero. Because leading zero no have significance and will
always be clipped in numbers. For such cases, it is necessary always
use text or masked text.





--
Best Regards,
Mike Gavrilov.


2015-10-14 18:11 GMT+05:00 Boris Zbarsky :
> On 10/14/15 5:47 AM, Михаил Гаврилов wrote:
>>
>> 2015-10-14 0:41 GMT+05:00 Boris Zbarsky :
>>>
>>> See https://bugzilla.mozilla.org/show_bug.cgi?id=974175 for details.
>>
>>
>> I think the problem with the display of the year with the help of
>>  far-fetched.
>
>
> In what sense?  People are doing it right now, and people do not expect to
> see "2,015" as the year.  They just don't.
>
>> Sooner or later year will be five-digit and more
>
>
> You mean "later", right?  ;)  Seriously, I expect the computer interaction
> modalities to be quite different by then, assuming the concept even makes
> sense at that point.
>
>> And in general I think for selecting date should be used for
>> special types of input: type="month" type="year".
>
>
> That's great, and I agree, but that's not what people are doing in practice.
>
> -Boris


Re: [whatwg] Proposal for showing thousand separator in form controls.

2015-10-15 Thread Boris Zbarsky

On 10/15/15 9:58 AM, Михаил Гаврилов wrote:

I understand an option to add an attribute to manually specify a
delimiter is not considered here.


I think this is the thing that has the best chance of success: having 
explicit opt-in to various different formatting behaviors based on 
knowledge of what sort of "number" you're showing.


-Boris


Re: [whatwg] Proposal for showing thousand separator in form controls.

2015-10-15 Thread Boris Zbarsky

On 10/15/15 2:35 AM, Михаил Гаврилов wrote:

Let's first decide what numbers is meant by number type.


Good luck with that.  Everyone seems to feel it's a different thing.


Also a special case is the number of a credit card and any number with
leading zero. Because leading zero no have significance and will
always be clipped in numbers. For such cases, it is necessary always
use text or masked text.


And yet people consistently try to use  for these. 
 For credit card numbers it's silly, but for hours/minutes it's not 
unreasonable, if only to get the little up/down spinners.


Yes, the fact that people are trying to shoehorn a wide variety of quite 
different use cases into  is unfortunate.


-Boris


Re: [whatwg] Proposal for showing thousand separator in form controls.

2015-10-15 Thread Ian Hickson
On Thu, 15 Oct 2015, Михаил Гаврилов wrote:
>
> Frankly I do not understand it means, yes or no?
> I am first time here.
> How did approval procedure takes place?
> Anything else I need to do or describe final idea? Any examples how
> make this better.

You may find more details about how things work here in our 
FAQ: https://whatwg.org/faq

HTH.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Proposal for showing thousand separator in form controls.

2015-10-15 Thread Михаил Гаврилов
Frankly I do not understand it means, yes or no?
I am first time here.
How did approval procedure takes place?
Anything else I need to do or describe final idea? Any examples how
make this better.
Thanks.





--
Best Regards,
Mike Gavrilov.


2015-10-15 20:30 GMT+05:00 Boris Zbarsky :
> On 10/15/15 9:58 AM, Михаил Гаврилов wrote:
>>
>> I understand an option to add an attribute to manually specify a
>> delimiter is not considered here.
>
>
> I think this is the thing that has the best chance of success: having
> explicit opt-in to various different formatting behaviors based on knowledge
> of what sort of "number" you're showing.
>
> -Boris