Re: [html5] input type=time & min/max.

On Sun, 20 Sep 2009, Lars Gunther wrote:
> 2009-09-19 21:39, Andrew Fedoniouk skrev:
> > Question is: If @min happens to be greater than @max:
> > 
> > <input type=time min="08:00:00" max="07:59:59" >
> > 
> > what should be presented to the user?
> 
> Would it not be most logical to disable this control? The actual widget would
> not have any available options!
> 
> If it is not disabled and some value CAN be entered but no matter what, it
> will be invalid, I guess users would be quite annoyed!
> 
> What am I missing if disabling is not an option?
> 
> I think the spec should be changed!

The spec already makes it non-conforming for an author to have max less 
than min, so this can only happen in invalid documents anyway.

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

Received on Sunday, 20 September 2009 20:41:00 UTC