[whatwg] <input type=number> for year input
ddailey at zoominternet.net
Tue Feb 18 18:16:38 PST 2014
On Tuesday, February 18, 2014 8:24 PM
Karl Dubost wrote
Le 19 févr. 2014 à 08:17, Ian Hickson <ian at hixie.ch> a écrit :
> It doesn't help that much for four-digit numbers, and years beyond
> four digits often _do_ have commas, e.g.:
The same page you used:
Problema del año 10000
Проблема 10000 года
Проблема 10000 року
For example, the comma in France is used for "10,5" as in 10.5 (21/2).
And the space is used as a separator 11 222 333,44
A good source for different conventions depending on the locales.
I wonder if it would not be more flexible to have a `format` attribute.
<input type="number" format="%Y"/>
(or any other formatting syntax)
Thanks to jwatt for raising the issue and to Karl for casting it in the context that I presume jwatt was intending it to be cast.
It reminds me of the early discussions, circa 2007 on whatwg/public-html, of what exactly was meant by 'semantics'. Is it merely HTML or is it meaning?
In a cross-cultural sense, do we really expect that <p> and <aside> and <quote> and <grid> and <section> and all the other things (that HTML5.5555555... might ultimately asymptote with itself to include) are inclusive of the ways that cultures, the world wide, might choose to partition their discourse, into tags, elements, and taxonomies, replete with meaning, context, style and behavior?
Perhaps at the core of human expression is the <idea> and until we respect one another for that core expression, distinctions between semantics, behavior, presentation and context are askew, or at least un-worldwidish. HTML7 should be radically different than HTML5: a new prime number requires new thinking and new participation and perhaps, even, reinvention at the expense of a broken wheel or two.
More information about the whatwg