[whatwg] [wf2] no value selected for type=range

Ian Hickson ian at hixie.ch
Tue Aug 23 16:47:51 PDT 2005


On Mon, 1 Aug 2005, Anne van Kesteren wrote:
>
> It is not 100% clear to me what no value selected means for type=range. Say we
> have this example:
> 
> # <form method="get">
> #  <p><input type="range" value="200">
> #  <p><input type="submit">
> # </form>
> 
> As the MIN and MAX attributes have default values it is clear that the 
> specified value is out or range. Should it fall back to its initial 
> value which is defined to be equivalent to the value of the MIN 
> attribute or should something else happen?
> 
> See <http://whatwg.org/specs/web-forms/current-work/#no-value> and some 
> paragraphs above and below that.

This is already defined:

   http://whatwg.org/specs/web-forms/current-work/#errOORValue

I've clarified the paragraph that raised questions though.

Thanks,
-- 
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