[whatwg] Form input element for value-unit pairs
christoph.paeper at crissov.de
Fri Mar 18 05:38:16 PDT 2011
> Am 15.03.2011 17:36 schrieb Christoph Päper:
>> <input name=fontsize type=number unit=typo>
>> <datalist id=typo>
>> <option value=2.835 label=pt>
>> <option value=1 label=mm>
> What I do not yet understand is, in what point does this proposal enhance usability compared to a dropdown box with the units, and some client side script that does the conversion?
The less form widgets the better, usually. I also hope browser developers can come up with a better control than the next webdesigner, and it would be more consistent across sites, too. You could, for example and perhaps, enter “4mm<enter>” instead of “4<tab><down><down><enter>”.
More information about the whatwg