[whatwg] Defines the default size of <input type='range'> and other form controls

Ian Hickson ian at hixie.ch
Tue Jul 30 15:55:10 PDT 2013


On Wed, 17 Apr 2013, Mounir Lamouri wrote:
> 
> Currently the specification specifies some form control sizes (at least 
> text controls and progress and meter elements) but most of the form 
> controls bindings do not specify the expected default size of the 
> control. I believe that the default size is quite important for 
> interoperability, especially for inline-block elements that might end-up 
> wrapped in text: if the default height is defined in px or em, the 
> rendering might differ a lot.
> 
> I think that it would be great to define default sizes for form 
> controls, in em preferably I guess.

I'd been intentionally not specifying this so as to not bias 
implementations, and so as to see what implementations settled upon. If 
implementations are ready to "freeze" their current behaviours, I'm happy 
to start adding this kind of detail to the spec. Has this time come?

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


More information about the whatwg mailing list