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

Reading:

http://dev.w3.org/html5/spec/Overview.html#time-state

that defines @min and @max attributes for the <input type=time>

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?

Shall the whole input be e.g. disabled or it should allow the input anyway?

And yet in such conditions the input will always be unsuccessful.
What should be sent to the server from such an ill element?

"If an element has a maximum that is less than its minimum, then so long 
as the element has a value, it will either be suffering from an 
underflow or suffering from an overflow."
(http://dev.w3.org/html5/spec/Overview.html#attr-input-max)


-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Saturday, 19 September 2009 19:39:47 UTC